Unverified Commit 7beb0e7d authored by Felix Krause's avatar Felix Krause Committed by GitHub

Add information about how to run tests

This is something that took me a few minutes to find, so let's make it easier for new people to know how to run a specific test, as that's very commonly used when preparing a PR. 

As there is a lot of potential small changes in this PR, please feel free to directly apply any changes and merge from there.
parent 445c8f28
...@@ -75,6 +75,10 @@ Code/comments should adhere to the following rules: ...@@ -75,6 +75,10 @@ Code/comments should adhere to the following rules:
* All changes require test coverage to ensure it does not break during refactor * All changes require test coverage to ensure it does not break during refactor
work. (There are a few exceptions to this, which can be recognised by there work. (There are a few exceptions to this, which can be recognised by there
not being any coverage for similar code.) not being any coverage for similar code.)
* CocoaPods uses [bacon](https://github.com/chneukirchen/bacon) as a test runner.
To run all tests, use `bundle exec rake spec` in the root of the
[Rainforest repo](https://github.com/CocoaPods/Rainforest). If you want to run
a specific test instead, use `bundle exec bacon spec/[folder]/[name]_spec.rb`
* All enhancements and bug fixes need to be documented in the CHANGELOG. * All enhancements and bug fixes need to be documented in the CHANGELOG.
* When writing comments, use properly constructed sentences, including * When writing comments, use properly constructed sentences, including
punctuation. punctuation.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment