Bundle tests with applications

- For each application, add ./tests directory and __init__.py file
  within it.

- Modify test controllers (coverage.py, runtests.py) to find the new
  test directories for testing and coverage analysis.

- Move existing application-specific test modules (test_pagekite.py) to
  the newly created directories.
This commit is contained in:
Bob Girard authored and Sunil Mohan Adapa committed 2015-06-26 12:05:48 +05:30
1 parent f91be5a4f9
commit d64ce6cc01
25 files changed
+11 -3

No files matched your search

+4 -1
View File
@@ -37,7 +37,10 @@ import time
SOURCE_DIRS = ['plinth'] + glob.glob('plinth/modules/*')
# Files to exclude from coverage analysis and reporting
FILES_TO_OMIT = ['plinth/tests/*.py']
FILES_TO_OMIT = [
'plinth/tests/*.py',
'plinth/modules/*/tests/*.py'
]
# Location of coverage HTML report files
COVERAGE_REPORT_DIR = 'plinth/tests/coverage/report'