Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Anonymous Ticket Portal Anonymous Ticket Portal
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 27
    • Issues 27
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • TPA
  • Anonymous Ticket PortalAnonymous Ticket Portal
  • Merge requests
  • !39

Improve Testing Coverage

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged MariaV requested to merge fix_tests into master Jan 11, 2021
  • Overview 0
  • Commits 3
  • Pipelines 0
  • Changes 2
  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 project.id.
  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.
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix_tests