fitSharp
Suite Set Up

definemake new folder@name
withnewfile system
make empty folder@name

definenew file@name
withnewfile system
returnmake empty file@name

defineexecute folder runner

withnew filetest\input\suiteconfig.xml
write line<suiteConfig>
write line<Settings>
write line<runner>fit.Runner.FolderRunner</runner>
write line with path<inputFolder>test\input</inputFolder>
write line with path<outputFolder>test\output</outputFolder>
write line</Settings>
write line<applicationUnderTest>
write line<addNamespace>fit.Test.Double</addNamespace>
write line</applicationUnderTest>
write line</suiteConfig>

make new foldertest\output

withnewfolder runner story
run-c,test\input\suiteconfig.xml
returncurrent

definewhen test isinputthen result isoutput

story test fixture
checktest resultinputoutput

definewhen test isinputthen result isoutputwith log@log

story test fixture
checktest resultinputoutput
checklog@log

definewhen input isinputthen output isoutput

story test fixture
checkplain testinputoutput

definewhen input isinputthen output isoutputwith log@log

story test fixture
checkplain testinputoutput
checklog@log

Copyright © 2017 Syterra Software Inc. All rights reserved.