Skip to content

Commit

Permalink
[ci] Add general notice to focus on model & feature tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisBr committed Jun 9, 2016
1 parent 6f9c3a1 commit 0418748
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/api/spec/README.md
Expand Up @@ -45,6 +45,9 @@ possible in RSpec. We concentrate on 4 types:
* [Helper specs](https://relishapp.com/rspec/rspec-rails/docs/helper-specs/helper-spec) reside in the `spec/helpers` directory and test methods in Helpers.
* [Feature specs](https://relishapp.com/rspec/rspec-rails/docs/feature-specs/feature-spec) reside in the `spec/features` directory and test workflows through the webui.

We agreed that we wan to focus on model and feature tests.
While migrating the old test suite, we review all controller tests and try to translate most of them to model tests.

## Adding tests
We are using the standard [RSpec generators](https://relishapp.com/rspec/rspec-rails/docs/generators) like:

Expand Down

0 comments on commit 0418748

Please sign in to comment.