sedge / opendojo

An open-source student and class management system for traditional karate clubs
Mozilla Public License 2.0
2 stars 0 forks source link

Write unit tests for the `Student` model and/or the data abstraction layer #6

Closed sedge closed 9 years ago

sedge commented 9 years ago

ESTIMATE: 10 hrs DUE: Sunday January 31st ASSIGNED: TBD BLOCKS: BLOCKED BY: #3

Unit tests must be written to confirm that the data abstraction layer in the backend server works as expected. The tests must confirm all success and error cases of the data abstraction module's API design.

The unit tests must test each method of the data abstraction layer for all imaginable success and error cases. They must use valid test data, and clean up the test data when the tests are finished (by removing all test records).

AlinaShtramwasser commented 9 years ago

The db layer is being contacted through the routes -- I have modified the routes and have written the unit tests for these routes.