#3792: Use unique names on test modules
-------------------------+-------------------------
Reporter: pmav99 | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Default | Version: svn-trunk
Keywords: | CPU: Unspecified
Platform: Unspecified |
-------------------------+-------------------------
I am experimenting a bit with running GRASS tests using pytest. If this
works out, we should be able to e.g. easily get reports on
[https://lists.osgeo.org/pipermail/grass-dev/2019-March/091482.html test
coverage].
One of the requirements for using pytest is to have
[https://docs.pytest.org/en/latest/goodpractices.html#test-discovery
uniquely named test modules]. The grass testsuite does have some
duplicates filenames though. Regardless of pytest, I think that having
unique names is a good idea anyway.
The following commands removes duplicate filenames and thus allow pytest
to run:
#3792: Use unique names on test modules
--------------------------+-------------------------
Reporter: pmav99 | Owner: grass-dev@…
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Default | Version: svn-trunk
Resolution: fixed | Keywords:
CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------
Changes (by neteler):
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"74226" 74226]:
{{{
#!CommitTicketReference repository="" revision="74226"
testsuite: use unique names on test modules to better support pytest
(fixes #3792) (contributed by pmav99)
}}}
#3792: Use unique names on test modules
--------------------------+-------------------------
Reporter: pmav99 | Owner: grass-dev@…
Type: enhancement | Status: closed
Priority: normal | Milestone: 7.8.0
Component: Tests | Version: svn-trunk
Resolution: fixed | Keywords:
CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------
Comment (by pmav99):
As shown by @sbl [https://trac.osgeo.org/grass/ticket/3771#comment:9
here], there was a typo. To fix it the following needs to be applied:
{{{
svn mv vector/v.in.lidar/testsuite/test_v_in_pdal_basic.py
vector/v.in.pdal/testsuite/test_v_in_pdal_basic.py
svn mv vector/v.in.lidar/testsuite/test_v_in_pdal_filter.py
vector/v.in.pdal/testsuite/test_v_in_pdal_filter.py
}}}
#3792: Use unique names on test modules
--------------------------+-------------------------
Reporter: pmav99 | Owner: grass-dev@…
Type: enhancement | Status: closed
Priority: normal | Milestone: 7.8.0
Component: Tests | Version: svn-trunk
Resolution: fixed | Keywords:
CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------
Comment (by neteler):
In [changeset:"74400" 74400]:
{{{
#!CommitTicketReference repository="" revision="74400"
testsuite: convert the following test to a proper python module name
(fixes #3792)
}}}