Skip to content

newleaders/thincloud-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4640614 ยท Jan 23, 2014
Jan 27, 2013
Jan 23, 2014
Jan 27, 2013
Sep 23, 2012
Jun 14, 2013
Aug 15, 2013
Jan 27, 2013
Jan 27, 2013
Aug 15, 2013
Jan 27, 2013
Jan 23, 2014

Repository files navigation

thincloud-test Code Climate

Description

Opinionated testing framework dependencies and configuration for Ruby applications.

New Leaders uses this gem to manage the following dependencies:

Requirements

This gem has been tested against the following Ruby versions:

  • 1.9.3
  • 2.0.0

Installation

Add this line to your application's Gemfile:

gem "thincloud-test"

And then execute:

$ bundle

Or install it yourself as:

$ gem install thincloud-test

Usage

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 minitest:

require "thincloud/test"

This requires minitest and 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:

$ thincloud-testify

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! ๐ŸŽ‰ ๐ŸŽˆ

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a Pull Request

License

About

Opinionated testing framework dependencies and configuration for Ruby applications.

Resources

License

Stars

Watchers

Forks

Packages

No packages published