#3771: Run tests on Travis
--------------------------+-------------------------
  Reporter:  pmav99       |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:
 Component:  Tests        |    Version:  svn-trunk
Resolution:               |   Keywords:
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+-------------------------

Comment (by sbl):

 Another relevant issue are test datasets, it seems.

 Some maps used in tests are not available in all sample data used for
 testing (or with different names. If I remeber correctly, some effort has
 been put on this relatively newly, as e.g. maps are copied to the correct
 name used in the testsuite, before tests are run.

 For example, in db/db.copy/testsuite/test_dbcopy.py the map "zipcodes" is
 used, which is available in nc_basic, while a suitable map in nc_spm_08 is
 named zipcodes_wake, the demolocation does not have a comparable map. The
 documentation suggests to use nc_spm dataset for testing
 (https://grass.osgeo.org/grass76/manuals/libpython/gunittest_testing.html).

 Should tests (where necessary) be updated to work with nc_spm? (or should
 input map names be chocen based on name of the location a test is ran in)?

 I also had a look at how to skip tests (e.g. if maps are missing in the
 location used to run tests). But could not figure out haow to do that.
 Hints are welcome!

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3771#comment:7>
GRASS GIS <https://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to