Sha256: a66300f0491e95fda6a873dfe75e8ab47cf93d1b675e469671952bc623ec90ca

Contents?: true

Size: 867 Bytes

Versions: 9

Compression:

Stored size: 867 Bytes

Contents

Feature: This tests using json data in tests.

  Background:
    Given the job is 'Json'
    And the job source 'Source Data'
    And the job target 'Target Data'
    And the source 'Source Data'
    And the target 'Target Data'

  Scenario: Using JSON data in an example record.

    Given the following example record for 'Source Data':
      | json_array       | json_hash            |
      | [ "one", "two" ] | { "name": "Darwin" } |

    Then the target field 'second_element' is populated with "two"
    And the target field 'name_field' is populated with "Darwin"


  Scenario: Using JSON data in long form

    Given the source field 'json_hash' has the multiline value
      """
        {
          "id": 97,
          "name": "Darwin",
          "birthday": "1809-02-12"
        }
      """
    And the target field 'name_field' is populated with "Darwin"

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
remi-0.3.3 features/json.feature
remi-0.3.2 features/json.feature
remi-0.3.1 features/json.feature
remi-0.3.0 features/json.feature
remi-0.2.42 features/json.feature
remi-0.2.41 features/json.feature
remi-0.2.40 features/json.feature
remi-0.2.39 features/json.feature
remi-0.2.38 features/json.feature