Opened 6 years ago
Last modified 5 years ago
#3745 new defect
gunittest reporter message improvement
Reported by: | neteler | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.8.3 |
Component: | Tests | Version: | svn-trunk |
Keywords: | python, gunittest | Cc: | |
CPU: | All | Platform: | All |
Description
I tried to improve the unit test reporting message with a small detail: adding the amount of total tests. My attempt is the attached patch but it doesn't really work:
test_v_rast_stats from ./scripts/v.rast.stats failed (3 tests out of 6 failed) test_what_strds from ./scripts/v.what.strds failed (1 test out of 1 failed) ... test.t.vect.list from ./temporal/t.vect.list failed test.t.merge from ./temporal/t.merge failed test.t.vect.observe.strds.relative from ./temporal/t.vect.observe.strds failed test.t.vect.observe.strds from ./temporal/t.vect.observe.strds failed test_snap from ./temporal/t.snap failed (6 tests out of 6 failed) test_raster_algebra from ./temporal/t.rast.algebra failed (77 tests out of 40 failed) ...
In any case, the percentage might be better but no idea how to extract that.
Attachments (1)
Change History (5)
by , 6 years ago
Attachment: | gunittest_reporter.diff added |
---|
comment:4 by , 5 years ago
Milestone: | → 7.8.3 |
---|
Note:
See TracTickets
for help on using tickets.
Attempt to improve gunittest reporter msgs