fitSharp
Set Up Fixture
Set Up Fixture invokes a method for each row using the row cells as input. The method name is created by concatenating the text in the header row cells. 'SetUp' and 'TearDown' methods are called if they exist.

when test is
story test fixture
checktest result
sample setup
ab
12
34

withtypelog
checkcontentSetUp() Ab(1,2) Ab(3,4) TearDown()

sample setup
ab
12
34

withtypelog
checkcontentSetUp() Ab(1,2) Ab(3,4) TearDown()

sample setup
ab
12
34

withtypelog
checkcontentSetUp() Ab(1,2) Ab(3,4) TearDown()
then result is
sample setup
ab
12
34

withtypelog
checkcontentSetUp() Ab(1,2) Ab(3,4) TearDown()

Errors are reported.

when test is
story test fixture
checktest result
sample setup
garbage
12

sample setup
gar
Member 'garbage' with 2 parameter(s) not found for type 'fit.Test.Double.SampleSetupFixture'.
bage
12

sample setup
garbage
12
then result is
sample setup
gar
Member 'garbage' with 2 parameter(s) not found for type 'fit.Test.Double.SampleSetupFixture'.
bage
12

when test is
story test fixture
checktest result
sample setup
ab
1
234

sample setup
ab
1
Row should be 2 cells wide.
2
Row should be 2 cells wide.
34

sample setup
ab
1
234
then result is
sample setup
ab
1
Row should be 2 cells wide.
2
Row should be 2 cells wide.
34

Copyright © 2022 Syterra Software Inc. All rights reserved.