๐งชRunning Tests
Last updated
The client tests are located in the client/src directory and utilize .test.js extensions. They are built using Jest and React Testing Library.
Install Dependencies:
cd client
npm installRun Tests:
npm testThis command launches the test runner in interactive watch mode. It runs all test files and provides feedback on test results.
The server tests are located in the server/tests directory and are implemented using unittest.
Install Dependencies:
cd ../server
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
pip install -r requirements.txtRun Tests:
This command discovers and runs all test files (test_*.py) in the server/tests directory using unittest.
Last updated
python3 -m unittest discover -s tests -p 'test_*.py'