Obsolete: Use
Suite Configuration File or
Configure Fixture - configure applicationUnderTest addNamespace xxx
Import Fixture adds to the list of namespaces that are searched for fixture classes.
By default, the fully qualified name of the fixture class is required.
when input is⇓
story test fixture |
check | plain test | |ArithmeticColumnFixture
x y plus?
1 2 3 | ArithmeticColumnFixture
Type 'ArithmeticColumnFixture' not found in assemblies
| x | y | plus? | 1 | 2 | 3 |
|
| |ArithmeticColumnFixture
x y plus?
1 2 3 | then output is | ArithmeticColumnFixture
Type 'ArithmeticColumnFixture' not found in assemblies
| x | y | plus? | 1 | 2 | 3 |
|
By importing the namespace, only the fixture class name is required.
when input is⇓
story test fixture |
check | plain test | import
eg
|ArithmeticColumnFixture
x y plus?
1 2 3 |
ArithmeticColumnFixture | x | y | plus? | 1 | 2 | 3 |
|
| import
eg
|ArithmeticColumnFixture
x y plus?
1 2 3 | then output is |
ArithmeticColumnFixture | x | y | plus? | 1 | 2 | 3 |
|