SE701-T5 / Backend

Heroku deployed Node.js backend server developed by Team-5 for the UniForum project associated with the University of Auckland SOFTENG 701 course
https://uni-forum.herokuapp.com/
MIT License
2 stars 18 forks source link

Refactor test suite setup and teardown #73

Closed R055A closed 2 years ago

R055A commented 2 years ago

Description

Refatctored the setup and teardown for all test suites accessing the database.

Observed total local test performance time is optimized with a total time of ~15% of the unoptimized total test time.

Related Issue

Solves #72

Type of change

How Has This Been Tested?

It is a refactor of existing test suites and all existing testing passes after the refactor.

Checklist:

For more information, refer to the Contributing Guidelines and Code of Conduct links at the bottom of this page.