StrawBossConfig object (de)serialization and tests.
This commit is contained in:
@ -107,9 +107,10 @@ suite "load and save configuration objects":
|
||||
sameContents(pc.steps["test"].expectedEnv, @[])
|
||||
sameContents(pc.steps["test"].cmdInput, @[])
|
||||
|
||||
test "StrawBossConfig to string":
|
||||
# TODO
|
||||
check false
|
||||
test "serialze StrawBossConfig to/from string":
|
||||
let cfg = loadStrawBossConfig("src/test/json/strawboss.config.json")
|
||||
let cfgStr = $cfg
|
||||
check cfg == parseStrawBossConfig(parseJson(cfgStr))
|
||||
|
||||
test "loadBuildStatus":
|
||||
let st = loadBuildStatus("src/test/json/test-status.json")
|
||||
|
Reference in New Issue
Block a user