numbbrain4all / translation-tester

Automatically exported from code.google.com/p/translation-tester
0 stars 0 forks source link

Test mapping with multiple inputs/outputs #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Narrative:
As a Developer
I want to exercise the translator with a wide range of inputs
So that I can test the translator handles a wide range of inputs correctly

Acceptance Criteria:

Scenario 1: Testing a mapping with multiple inputs, one test
Given that a mapping has been added
When  the developer calls TestMappingForProperty, passing in multiple
input/output pairs
Then  The mapping(s) should be tested with all the input/output pairs
  And a single failure should cause the test to fail
  And the failing input/output pair should be shown

Scenario 2: Testing a mapping with multiple inputs, multiple test
Alternatively each input/output pair can be specified in seperate tests

Original issue reported on code.google.com by fluxmu...@gmail.com on 29 Sep 2008 at 6:26

GoogleCodeExporter commented 8 years ago
May not directly support multiple input/output, as this breaks the atomic test
principal, and probably works better by using DataDrivenTesting

Original comment by fluxmu...@gmail.com on 29 Sep 2008 at 6:27