ItWord
Class that supports shorthand scope registration via the instance referenced from FixtureAsyncWordSpecLike's it field.
This class enables syntax such as the following test registration:
"A Stack" when { ... }
it should { ... }
^
For more information and examples of the use of the it field, see the main documentation
for FixtureAsyncWordSpec.
Value members
Concrete methods
Supports the registration of scope with can in a FixtureAsyncWordSpecLike.
Supports the registration of scope with can in a FixtureAsyncWordSpecLike.
This method supports syntax such as the following:
"A Stack" when { ... }
it can { ... }
^
For examples of scope registration, see the main documentation
for AnyWordSpec.
- Value parameters:
- right
the body function
Supports the registration of scope with must in a FixtureAsyncWordSpecLike.
Supports the registration of scope with must in a FixtureAsyncWordSpecLike.
This method supports syntax such as the following:
"A Stack" when { ... }
it must { ... }
^
For examples of scope registration, see the main documentation
for AnyWordSpec.
- Value parameters:
- right
the body function
Supports the registration of scope with should in a FixtureAsyncWordSpecLike.
Supports the registration of scope with should in a FixtureAsyncWordSpecLike.
This method supports syntax such as the following:
"A Stack" when { ... }
it should { ... }
^
For examples of scope registration, see the main documentation
for FixtureAsyncWordSpec.
- Value parameters:
- right
the body function
Supports the registration of scope with when in a FixtureAsyncWordSpecLike.
Supports the registration of scope with when in a FixtureAsyncWordSpecLike.
This method supports syntax such as the following:
"A Stack" should { ... }
it when { ... }
^
For examples of scope registration, see the main documentation
for AnyWordSpec.
- Value parameters:
- right
the body function