Opened 18 months ago

Last modified 7 months 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 18 months ago.
Attempt to improve gunittest reporter msgs

Download all attachments as: .zip

Change History (5)

Changed 18 months ago by neteler

Attachment: gunittest_reporter.diff added

Attempt to improve gunittest reporter msgs

comment:1 Changed 10 months ago by neteler

Milestone: 7.8.07.8.1

Ticket retargeted after milestone closed

comment:2 Changed 8 months ago by neteler

Milestone: 7.8.17.8.2

Ticket retargeted after milestone closed

comment:3 Changed 7 months ago by neteler

Milestone: 7.8.2

Ticket retargeted after milestone closed

comment:4 Changed 7 months ago by neteler

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