Skip to main content

Unit Testing

Description#

We encourage all teams to do extensive testing on their codebase to ensure all code is correct and robust. In your assignment, please detail your testing plan and coverage and how you refactored the existing code so that things are testable. Also, if possible please try to integrate testing checks into your CI workflow.

note

Your set of unit tests can only be used for one assignment. (i.e., you cannot use this for both the PR and unit test assignments)

Grading Tiers#

93%: Contribution was below expectations for that member of the team.

  • Tests do not effectively check code correctness
  • Insufficient description on what was being tested
  • Tests are not documented
  • Purpose of the tests are not clear

96%: Contribution was at expectations for that member of the team. This is the baseline grade.

  • Tests documented and explained decently
  • Tests cover most baseline functionality and some edge cases
  • Evidence of purposeful testing

100%: Contribution was above expectations for that member of the team.

  • Tests documented and explained exceptionally well
  • Tests cover all baseline functionality and most edge cases
  • Evidence of purposeful testing
  • Integrated with CI checks

Relevant Docs#