Sha256: 951ac740111366a4954c049da85c9da8ffc1c1e0ce2948c21d73119b118f8732
Contents?: true
Size: 1.43 KB
Versions: 8
Compression:
Stored size: 1.43 KB
Contents
Feature: Creation In order to test that we can extract data from the JSON stream As a developer I want to try and extract some tags Scenario: Make sure we can't remove any tags unless they exist Given I already have a JSON stream When I try and extract a tag 'non-existant' which doesn't exist Then the resultant JSON is empty Scenario: Ensure we can extract simple top-level tags Given I already have a JSON stream When I try and extract the authors name Then the resultant JSON contains the author details Scenario: Ensure we can extract simple data forms Given I already have a JSON stream When I try and extract any tags where the publishing date was 1999 Then the resultant JSON contains the publishing date Scenario: Ensure we can extract data from complicated JSON data Given I already have a complicated JSON stream When I try and extract any tags where the publishing date was 1999 Then the resultant JSON contains the publishing date Scenario: Ensure that we can extract data from JSON arrays Given I already have a JSON stream When I try and extract data from the keyword array Then the resultant JSON data contains the array Scenario: Ensure that multiple levels of data can be returned Given I already have a JSON stream When I try and extract data from the keyword array with a depth of 2 Then the result JSON data contains the array and its parent
Version data entries
8 entries across 8 versions & 1 rubygems