Sha256: 446bb65676e34482bfe15c6d7ccfc976535b489e3e16258417a1ef702bb4bd69

Contents?: true

Size: 1.56 KB

Versions: 37

Compression:

Stored size: 1.56 KB

Contents

Feature: Tests the aggregate refinement to the Daru library

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

    And the source 'Source Data'


  Scenario: The aggregator should find the minimum year for each 'Alpha'
    Given the target 'Target Data'
    And the following example record for 'Source Data':
      | Alpha | Beta | Year |
      | a     | aa   | 2016 |
      | a     | aa   | 2018 |
      | b     | bb   | 2016 |
      | b     | bb   | 2010 |
      | a     | ab   | 2017 |
    And the following example record called 'expected result':
      | Alpha | Year |
      | a     | Group a has a minimum value of 2016 |
      | b     | Group b has a minimum value of 2010 |
    Then the target should match the example 'expected result'


  Scenario: The aggregator should find the minimum year for each 'Alpha'
    Given the target 'Multigroup Target Data'
    And the following example record for 'Source Data':
      | Alpha | Beta | Year |
      | a     | aa   | 2016 |
      | a     | aa   | 2018 |
      | b     | bb   | 2016 |
      | b     | bb   | 2010 |
      | a     | ab   | 2017 |
    And the following example record called 'expected result':
      | Alpha | Beta | Year |
      | a     | aa   | Group ["a", "aa"] has a minimum value of 2016 |
      | a     | ab   | Group ["a", "ab"] has a minimum value of 2017 |
      | b     | bb   | Group ["b", "bb"] has a minimum value of 2010 |
    Then the target should match the example 'expected result'

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
remi-0.2.42 features/aggregate.feature
remi-0.2.41 features/aggregate.feature
remi-0.2.40 features/aggregate.feature
remi-0.2.39 features/aggregate.feature
remi-0.2.38 features/aggregate.feature
remi-0.2.37 features/aggregate.feature
remi-0.2.36 features/aggregate.feature
remi-0.2.35 features/aggregate.feature
remi-0.2.34 features/aggregate.feature
remi-0.2.33 features/aggregate.feature
remi-0.2.32 features/aggregate.feature
remi-0.2.31 features/aggregate.feature
remi-0.2.30 features/aggregate.feature
remi-0.2.29 features/aggregate.feature
remi-0.2.28 features/aggregate.feature
remi-0.2.27 features/aggregate.feature
remi-0.2.26 features/aggregate.feature
remi-0.2.25 features/aggregate.feature
remi-0.2.24 features/aggregate.feature
remi-0.2.23 features/aggregate.feature