[GRASS-user] Regarding Testing Grass GIS Module

Helmut Kudrnovsky hellik at web.de
Sun Dec 3 12:11:26 PST 2017


Sunveer Singh wrote
> I want to test Grass GIS Module i.vi
> What are test we have to add in python for module "i.vi"

if not already done, download the GRASS GIS NC sample data set [1]

then have a look into the i.vi manual [2] and excercise the examples with
the NC sample data set to get familiar with the i.vi module.

and then study the manual for "Testing GRASS GIS source code and modules"
[3] and try to develop step by step a simple test to show that the 
i.vi-module output is correct.


[1] https://grass.osgeo.org/download/sample-data/ 

GRASS 7 full data tar.gz | zip (nc_spm, 145MB)
GRASS 7 data subset tar.gz | zip (nc_basic, 50MB)

[2] https://grass.osgeo.org/grass72/manuals/i.vi.html

[3] https://grass.osgeo.org/grass72/manuals/libpython/gunittest_testing.html

HTH




-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html


More information about the grass-user mailing list