From a2f5c2a8424952e624fc18529ceb1948eb9bb77d Mon Sep 17 00:00:00 2001 From: Blade Barringer Date: Sat, 30 Jan 2016 09:28:03 -0600 Subject: [PATCH] tests: Add readme for v3 tests --- test/api/v3/README.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/api/v3/README.md diff --git a/test/api/v3/README.md b/test/api/v3/README.md new file mode 100644 index 0000000000..ad9b55a32c --- /dev/null +++ b/test/api/v3/README.md @@ -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