Project | integration-tests |
---|---|
Platform | Ubuntu (Linux) |
Requires | A running cacophony-api server A running cacophony-browse server |
Build (Test) Status | |
Full test | Cypress test results |
Licence | GNU General Public License v3.0 |
By default the tests run against our test server interface.
To run the tests against browse-test/api-test go to Integration tests on Travis and click Restart build
By default the tests run against our test server interface but you can run the tests on your own machine.
- Go to the test-cypress folder
- Copy cypress.json.TEMPLATE to cypress.json.
- In cypress.json change the server address
- For browser and performance tests, repeat for cypress-browse.json and cypress-performance.json
- Run (api, browser and performance tests)
npm install
npm run dev
npm run browse
npm run performance
- Look for the cypress interactive environment.
Before you write your own tests please read the following:
Some of these tests used to exercise the fake thermal camera to check videos would record and upload. It would be good to get this working in the future.
Before committing changes run eslint to check style
npm run lint