#58: Unit tests and functional tests
- Contents
- Proposed by
- Tom Caswell
- Proposal type
- Architecture
- Assigned to release
- State
- in-progress
Motivation
Unit testing allows programmers to refactor code at a later date, and make sure the module still works correctly. It also provides a sort of living documentation of the system. Developers looking to learn what functionality is provided by a unit and how to use it can look at the unit tests to gain a basic understanding of what is going on.
Proposal
Each product needs to be reviewed, and unit tests need to be created to validate that each method or function is working properly. Test cases using mock objects may need to be written to ensure that the code being tested meets software requirements and behaves as intended.
Deliverables
End-to-end unit tests for each eduCommons product, as well as functional tests for eduCommons.