Skip to content

Back End Tests

Richard Ng edited this page May 24, 2020 · 1 revision

Back-Ends tests were done with Mocha, Chai and SuperTest.

  • Mocha was used as the testing framework as it plays very nicely with NodeJS
  • Chai was used as an extensive assertion library so we could test all the properties for our models in the db.
  • SuperTest was used as a session manager for authenticated and unauthenticated users.

Clone this wiki locally