mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-04 09:39:23 +00:00
tests: Add readme for v3 tests
This commit is contained in:
parent
69e24eafa3
commit
a2f5c2a842
1 changed files with 4 additions and 0 deletions
4
test/api/v3/README.md
Normal file
4
test/api/v3/README.md
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# How to run tests:
|
||||
|
||||
1. `npm test` is equivalent to `gulp test:api-v3` which will run, in order, `gulp lint`, `gulp test:api-v3:unit` and `gulp test:api-v3:integration`. If one of these fails, the whole `npm test` command blocks and fails. Each of these commands can also be run as a standalone command.
|
||||
2. To run the server and the integrations tests in two different terminals (to better inspect the output in the server) run `npm start` in one and `npm test:api-v3:integration:separate-server` in the other
|
||||
Loading…
Reference in a new issue