Changes between Version 4 and Version 5 of GSoC/2014/TestingFrameworkForGRASS
- Timestamp:
- 05/21/14 15:57:25 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GSoC/2014/TestingFrameworkForGRASS
v4 v5 148 148 Resources: 149 149 * http://grasswiki.osgeo.org/wiki/Test_Suite#Modules 150 151 152 == Naming conventions == 153 154 The [https://docs.python.org/2/library/unittest.html#unittest.TestLoader.discover unittest.TestLoader.discover] function requires that module names ''are importable (i.e. are valid Python identifiers)''. Consequently, names of files with tests should contain dots (except for the `.py` suffix). 155 156 Methods with tests must start with `test_` to be recognized by the [https://docs.python.org/2/library/unittest.html#organizing-test-code unittest] framework.