Skip to content

Improve Testing Coverage

MariaV requested to merge fix_tests into master
  1. Added new URL tests for all missing url-paths.
  2. Added new tests for all forms (simple is_valid() testing)
  3. Fixed all previous tests that were broken after updating url paths with project.slug vs
  4. Moved a number of tests from a TestCase to a SimpleTestCase as they did not require database.
  5. Refactored out Views tests into a number of separate TestCases - Landing and Login, Project, Issue + Notes, Other
  6. Post changes, testing time decreased from 30+ seconds on my system to < 14 seconds
  7. Coverage improved from 73 to 80 percent post changes.

Merge request reports