Ticket #544 (new task)
Completion of #58 Unit tests and functional tests
| Reported by: | tom | Owned by: | brent |
|---|---|---|---|
| Priority: | major | Milestone: | 3.2.0-eng |
| Component: | General | Version: | eduCommons-3.2.0-eng |
| Keywords: | Cc: |
Description (last modified by tom) (diff)
http://educommons.com/downloads/educommons/roadmap/58
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.
