Test Suite

From GRASS-Wiki
Revision as of 09:53, 22 May 2011 by AnneGhisla (talk | contribs) (first draft of testing suite development)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

GRASS Test Suite

Unittest and Integration Test for both libraries and modules

 $ make tests [ proj [ libs | modules | all ] ]

Tests are on single modules, as independent as possible from other GRASS modules. If independence is impossible, then try to run called modules first and check if they break.

Tests are in each module's folder (Python), and in each library's folder (Python ctypes).

Framework to generate and compare grass data types: raster, vector, raster3d, general, db, icon, imagery, d.*?

wxGUI testing should be tested separately.

Automated tests on server generates HTML report. Test several platforms.

Test framework: