Skip to content

Testing

Jeffer Jingfei Peng edited this page May 13, 2022 · 1 revision

Testing

In order to test our application, we:

  • Used unit tests for all classes (excluding UI)
  • Manual tests for UI based components
  • CI/CD automated testing suite, and build test

We primarily performed unit tests. We used JUnit and Mockito as our framework to test our app. A majority of our testing strategy was done with JUnit, and we believe that it was more than enough for our testing strategy, since we tested individual classes that had very few external dependencies. Moreover we found JUnit easy to use with no overhead, this allowed us to effectively write tests for all of our classes during the Software Development Lifecycle (SDLC). In the backend, we used Mockito for mocking user repository while testing user service. This allows us to perform unit tests on UserService.

Clone this wiki locally