-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8ea1fa3
commit 700552d
Showing
8 changed files
with
50 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,19 @@ | ||
If you wish to run the unit tests for MDiG while developing code, then install | ||
nosetests for python which is a testing framework, and optionally "coverage" | ||
which is to measure the code coverage of tests: | ||
If you wish to run the unit tests for MDiG while developing code, then go to | ||
the mdig program directory ('mdig/' from the root of the source) and run: | ||
|
||
easy_install nose coverage paste | ||
|
||
Then if you go to the mdig program directory (mdig/ from the root of the source) | ||
and run: | ||
|
||
nosetests -v | ||
nosetests -v | ||
|
||
Or to run with code coverage analysis: | ||
|
||
nosetests -v --with-coverage | ||
nosetests -v --with-coverage | ||
|
||
You'll run a bunch of tests to check everything's working correctly. | ||
|
||
Note - currently only basic tests are run, more rigarous tests are | ||
needed (although this has been greatly improved over the last year): | ||
* More model files that more thoroughly test the potential model types. | ||
Note - currently only basic tests are run, more rigorous tests are needed | ||
(although this has been greatly improved over the last year): | ||
|
||
* Additional model files that more thoroughly test the potential model types. | ||
* More coverage in unit tests for components within MDiG. | ||
* Comparison of the output maps from various models versus what the expected map | ||
should look like. For modules, create before and after maps and make sure they | ||
have no difference,implement as a shell script to be run within GRASS. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,8 @@ python-dateutil<2.0 | |
numpy | ||
scipy | ||
matplotlib | ||
imagetk | ||
pillow | ||
nose | ||
coverage | ||
paste | ||
|
||
mock |