Auto-tools/Projects/MozBase: Difference between revisions

→‎Tests: wiki formatting
(→‎Directory Structure and Imports: add README.md, which i thoroughly oppose as the name of such a thing, but that train has sailed)
(→‎Tests: wiki formatting)
Line 226: Line 226:
=== Tests ===
=== Tests ===


* each mozbase package should have tests in a 'tests' subdirectory of the root (''Example'': https://github.com/mozilla/mozbase/tree/master/mozprofile/tests )
* each mozbase package should have tests in a 'tests' subdirectory of the root  
**''Example'': https://github.com/mozilla/mozbase/tree/master/mozprofile/tests  
* these should be self-executing [http://docs.python.org/library/unittest.html python unittests] (''Example'': https://github.com/mozilla/mozbase/blob/master/mozprofile/tests/testprofile.py )
* these should be self-executing [http://docs.python.org/library/unittest.html python unittests] (''Example'': https://github.com/mozilla/mozbase/blob/master/mozprofile/tests/testprofile.py )
* these tests should be contained in a manifest; the master test manifest, https://github.com/mozilla/mozbase/blob/master/test-manifest.ini , is executed via [https://github.com/mozilla/mozbase/blob/master/test.py test.py]
* these tests should be contained in a manifest; the master test manifest, https://github.com/mozilla/mozbase/blob/master/test-manifest.ini , is executed via [https://github.com/mozilla/mozbase/blob/master/test.py test.py]
947

edits