In this section, we assume you already have installed development environment and you are running it on Docker.
Tests are using RSpec (backend) and Jest + vue-test-utils.
To execute them, just run:
$ make test
$ # or
$ make test-back
$ make test-front
This command calls rspec
and jest
commands with docker-compose and it
passes docker-compose-test.yml
in argument which is an adapted and simpler
version of docker-compose-dev.yml
.
Tests' suite is run against TravisCI. Pull requests must pass tests to be merged so please make sure it's all green before asking for a review (but you still can ask for help!)
If you want to know more about how to write tests, please have a look to the dedicated document for backend and for frontend.