Trans-Domain / tutortimes

Tutortimes - A Student Management platform
0 stars 0 forks source link

Add Tests for Controllers and Helpers #18

Open ashishdommety opened 5 years ago

ashishdommety commented 5 years ago

For Helpers (Unit Tests)

Using Jest, test individual functions that are pure (a.k.a no side-effects)

For Controllers (Integration Tests)

Use Mocha and Chai to test all the controllers in the application.

Also, use Sinon for stubbing and mocking.