Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 963 Bytes

readme.md

File metadata and controls

19 lines (15 loc) · 963 Bytes

Specs

Tests are split between two kinds:

  • Integration
  • Unit

Unit Tests

These tests exhibit the behavior of the domain and test the business logic it is supposed to convey. They do not query to Open Collective API but rather use a (Fake Repository)[https://8thlight.com/blog/eric-smith/2011/10/27/thats-not-yours.html] for all of it's tests.

Integration Tests

Integration tests are split into two types:

Identifying and Running Tests

Individual spec files will utilize tags, such as :integration or :contract. By running tests with make test you will run all tests. If you would like to run a specific set of tests, it is possible using tag filtering:

bundle exec rspec --tag integration