nmushegian / jams

actually minimal JSON alternative
12 stars 7 forks source link

Print pass/fail dir in test names #35

Closed dmfxyz closed 2 years ago

dmfxyz commented 2 years ago

Currently the tests just print the filename without a path. This makes it unclear from test output where the test is located and if the intent is for it to fail or pass, and what failing/passing means for that test.

Prior:

# passing files and their JSON equivalents
# failing files
# bare1.jams
ok 1 should be equivalent
ok 2 should be truthy
ok 3 should be equivalent
# bare2.jams
...
# angle-bracket.jams
ok 53 show throw

Now:

# passing files and their JSON equivalents
# failing files
# ./test/pass/bare1.jams
ok 1 should be equivalent
ok 2 should be truthy
ok 3 should be equivalent
...
# ./test/fail/angle-bracket.jams
ok 53 show throw