-
Notifications
You must be signed in to change notification settings - Fork 2
Running Tests
Gustavo Cunha edited this page Apr 16, 2023
·
6 revisions
This application is covered by tests on backend, frontend and end-to-end (browser) tests. All tests are located in spec
folder.
Backend tests are written in Ruby using RSpec. To run the tests, run rspec
on your terminal.
End-to-end tests are written in Javascript using Cypress. To run the tests, run yarn cypress
and cypress dashboard will open. To run the test suite without cypress dashboard, run yarn cypress:ci
. Currently, Cypress only support tests on Chrome, so it is a dependency if you want to run end-to-end tests.