Closed ee7 closed 4 years ago
What about stripping from stack traces?
I think we can merge the orderings. The reason they were there in the first place is that I started off just manually writing to the JSON file (before I figured out that the JSON module can dump an object) and the status was only known after the tests run.
This PR changes the JSON generated by
unittest_json.nim
to conform slightly better with the spec.Consider an example: a single-test test file that fails. This PR causes the following
diff
:See the commit message for more details.