GET /api/project/<project-name> endpoint.
This commit is contained in:
@ -124,6 +124,19 @@ suite "load and save configuration objects":
|
||||
let cfgStr = $cfg
|
||||
check cfg == parseStrawBossConfig(parseJson(cfgStr))
|
||||
|
||||
test "%step":
|
||||
let step = Step(
|
||||
name: "build", stepCmd: "true", workingDir: "dirA",
|
||||
artifacts: @[], depends: @["compile"], cmdInput: @[],
|
||||
expectedEnv: @["CWD", "TERM"], dontSkip: true)
|
||||
|
||||
let stepJS = %step
|
||||
|
||||
for k in @["name", "stepCmd", "workingDir", "artifacts", "cmdInput",
|
||||
"depends", "expectedEnv", "dontSkip"]:
|
||||
|
||||
check stepJS.hasKey(k)
|
||||
|
||||
test "loadBuildStatus":
|
||||
let st = loadBuildStatus("src/test/json/test-status.json")
|
||||
|
||||
|
Reference in New Issue
Block a user