fitSharp
Import Fixture
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
checkplain 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
checkplain testimport
eg

|ArithmeticColumnFixture
x y plus?
1 2 3
import
eg

ArithmeticColumnFixture
x y plus?
1 2 3
import
eg

|ArithmeticColumnFixture
x y plus?
1 2 3
then output is
import
eg

ArithmeticColumnFixture
x y plus?
1 2 3
© Copyright Syterra Software Inc. All rights reserved.