-
Notifications
You must be signed in to change notification settings - Fork 7
Testing
Erik Hetzner edited this page Apr 19, 2018
·
2 revisions
Aperta uses rspec, capybara and qunit for testing.
You can run the rspec tests using bundle exec rspec
.
You can run the javascript specs via the command line with bundle exec rake ember:test
.
You can also run the javascript specs from the browser. To do this run
ember test --serve
from client/
to see the results in the
browser.
- Write rspec tests for your rails models, controllers, services, serializers, etc. Our rspec tests are pretty good and can be used as examples.
- Write qunit tests for Ember components. We don't have great patterns for these
- Do not write Ember acceptance tests.
- Write Capybara happy path tests if you are developing a brand new feature.