fitSharp
Configuration Test


fit.Test.FitUnit.ConfigurationTest

An empty configuration settings returns null.
settings
checkrunner null

An XML configuration file is loaded.
load xml<suiteConfig><fitSharp.Machine.Application.Settings><runner>testvalue</runner></fitSharp.Machine.Application.Settings></suiteConfig>

The key value is returned.
settings
checkrunnertestvalue

A copy is saved.
save copy

A value is changed.
settings
runnernewvalue
checkrunnernewvalue

The copy is restored and is unchanged.
restore copy
settings
checkrunnertestvalue

A list is loaded.
load xml<suiteConfig><fit.Test.FitUnit.TestList> <add>item1</add> <add>item2</add> <insert before="item2">item15</insert></fit.Test.FitUnit.TestList></suiteConfig>

test listfit.Test.FitUnit.TestList
to string
item1
item15
item2

© Copyright Syterra Software Inc. All rights reserved.