The type of the fixture, which is TestData
.
The type of the fixture, which is TestData
.
Invoke the test function, passing to the the test function
the TestData
for the test.
Invoke the test function, passing to the the test function
the TestData
for the test.
To enable stacking of traits that define withFixture(NoArgTest)
, this method does not
invoke the test function directly. Instead, it delegates responsibility for invoking the test function
to withFixture(NoArgTest)
.
the OneArgTest
to invoke, passing in the
TestData
fixture
an Outcome
instance
Trait that when mixed into a
fixture.Suite
passes theTestData
passed towithFixture
as a fixture into each test.For example, here's how you could access the test's name in each test using
TestDataFixture
: