Opened 5 years ago

Last modified 4 years ago

#3745 new defect

gunittest reporter message improvement

Reported by: neteler Owned by: grass-dev@…
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)

gunittest_reporter.diff (1.0 KB ) - added by neteler 5 years ago.
Attempt to improve gunittest reporter msgs

Download all attachments as: .zip

Change History (5)

by neteler, 5 years ago

Attachment: gunittest_reporter.diff added

Attempt to improve gunittest reporter msgs

comment:1 by neteler, 5 years ago

Milestone: 7.8.07.8.1

Ticket retargeted after milestone closed

comment:2 by neteler, 4 years ago

Milestone: 7.8.17.8.2

Ticket retargeted after milestone closed

comment:3 by neteler, 4 years ago

Milestone: 7.8.2

Ticket retargeted after milestone closed

comment:4 by neteler, 4 years ago

Milestone: 7.8.3
Note: See TracTickets for help on using tickets.