[GRASS-dev] [GRASS GIS] #2663: Add test for r.watershed module

GRASS GIS trac at osgeo.org
Sun Apr 26 21:19:09 PDT 2015


#2663: Add test for r.watershed module
--------------------------+--------------------------------
  Reporter:  swendel621   |      Owner:  wenzeslaus
      Type:  enhancement  |     Status:  new
  Priority:  normal       |  Milestone:  7.1.0
 Component:  Tests        |    Version:  unspecified
Resolution:               |   Keywords:  patch, r.watershed
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+--------------------------------
Changes (by wenzeslaus):

 * owner:  grass-dev@… => wenzeslaus
 * keywords:   => patch, r.watershed
 * component:  Default => Tests
 * milestone:  7.0.1 => 7.1.0


Comment:

 I committed the test together with few style-related changes in r65145.

 Thanks, Stephanie!

 I suggest to close the ticket after the the automated run is successful.

 For completeness, I'm attaching file with changes between original and the
 version I committed and here are also the steps I used for integrating it
 and testing it (GRASS GIS session active):

 {{{
 #!bash
 # prepare dir and files
 cd raster/r.watershed/
 mkdir testsuite
 geany r_watershed_test.

 # add to svn
 cd ..
 svn add testsuite
 /script/in/addons/tools/module_svn_propset.sh
 testsuite/r_watershed_test.py
 cd testsuite

 # run the test
 python r_watershed_test.py

 # automatically introduce as much from PEP8 as possible
 autopep8 -i r_watershed_test.py

 # check the Python style and syntax
 pep8 r_watershed_test.py
 pylint r_watershed_test.py
 # edit the file accordingly

 # run the test again
 python r_watershed_test.py

 # publish changes
 svn st
 svn commit -m "r.watershed: ..."

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2663#comment:1>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list