Opinionated testing framework dependencies and configuration for Ruby applications.
New Leaders uses this gem to manage the following dependencies:
This gem has been tested against the following Ruby versions:
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install thincloud-test
The gem manages the test framework dependencies for you and provides a command to bootstrap a test environment.
The goal of
thincloud-test is to be minimal by default but provide additional capabilities by following simple conventions.
If you just want to get started using
simplecov with a default Simplecov configuration. You can require them independently if needed. Adding filters to Simplecov for example:
require "thincloud/test/simplecov" Simplecov.configure do add_filter "/spec/" add_filter "/some_other_dir/" end require "thincloud/test/minitest"
To enable the default New Leaders conventions, run the following command:
This will bootstrap your project with a
test/ directory, a
minitest_helper.rb with some default configuration, a
test/support/ directory with configuration for
mocha, custom minitest formatters, a
Guardfile, a default Travis CI configuration, and more!
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Added some feature')
- Push to the branch (
git push origin my-new-feature)
- Create a Pull Request