[GRASS-dev] [GRASS GIS] #3745: gunittest reporter message improvement
GRASS GIS
trac at osgeo.org
Thu Jan 31 01:38:33 PST 2019
#3745: gunittest reporter message improvement
-------------------------------+-------------------------
Reporter: neteler | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.8.0
Component: Tests | Version: svn-trunk
Keywords: python, gunittest | CPU: All
Platform: All |
-------------------------------+-------------------------
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.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3745>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list