CellParsing

Strings are parsed as is.

check parse string   ''
check parse string something 'something'

Static Parse methods on elementary classes are used.

check parse integer 123456789 123,456,789
check parse integer -123456789 -123,456,789
check parse integer 0  

Enumerated types are parsed.

checkparse as type codeByte'Byte'

Nullable types are parsed.

checkparse as nullable int123'123'
checkparse as nullable intnull''

Static Parse methods on classes under test are used if they exist.

check parse test class special SPECIAL

Nested lists can be parsed as a fitlibrary.tree.Tree.

check parse tree root
  • child1
  • child2
root[child1[] child2[] ]

Nested tables can be parsed as a fitlibrary.table.Table.

check parse table
1112
2122
{[11 12 ][21 22 ]}

Nested tables can be parsed as a IList. The table must have a Set Up Fixture format.

check parse list
ab
1112
2122
xy
1112
2122

Custom cell parsers can be added. To do this, create a class that implements fit.ICellHandler and call Configuration.Instance.FitLibraryCellHandlers.Add("your.CustomParser")

checkparse with custom parserone'1'