use category as filename, and full filename in test name
This commit is contained in:
parent
6af9ac18f1
commit
3dfcaec25f
1 changed files with 1 additions and 1 deletions
|
|
@ -172,7 +172,7 @@ proc addResult(r: var TResults, test: TTest,
|
||||||
("Skipped", "")
|
("Skipped", "")
|
||||||
else:
|
else:
|
||||||
("Failed", "Expected:\n" & expected & "\n\n" & "Gotten:\n" & given)
|
("Failed", "Expected:\n" & expected & "\n\n" & "Gotten:\n" & given)
|
||||||
discard execProcess("appveyor", args=["AddTest", name, "-Framework", test.cat.string, "-FileName", $test.name, "-Outcome", outcome, "-ErrorMessage", msg], options={poStdErrToStdOut, poUsePath})
|
discard execProcess("appveyor", args=["AddTest", test.name & test.options, "-FileName", test.cat.string, "-Outcome", outcome, "-ErrorMessage", msg], options={poStdErrToStdOut, poUsePath})
|
||||||
|
|
||||||
proc cmpMsgs(r: var TResults, expected, given: TSpec, test: TTest) =
|
proc cmpMsgs(r: var TResults, expected, given: TSpec, test: TTest) =
|
||||||
if strip(expected.msg) notin strip(given.msg):
|
if strip(expected.msg) notin strip(given.msg):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue