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