Sha256: 06b9ca6de7afb7894371a928c4331eb8ae4f3a21017d912257b2856366ef195a
Contents?: true
Size: 1.35 KB
Versions: 1
Compression:
Stored size: 1.35 KB
Contents
# MiniTest Should [![Build Status](https://secure.travis-ci.org/citrus/minitest_should.png)](http://travis-ci.org/citrus/minitest_should) minitest_should allows you to write unit tests with [shoulda](https://github.com/thoughtbot/shoulda) style syntax. Contexts are not yet supported but you can use `should "do something"` instead of those `pesky_underscored_test_names`. Usage ----- gem "minitest" require "minitest/autorun" require "minitest/should" # instead of this class TestWithUnderscores < MiniTest::Unit::TestCase def test_should_just_work assert true end end # use this! class TestWithShould < MiniTest::Unit::TestCase should "just work" do assert true end end Installation ------------ As usual, just use the `gem install` command: (sudo) gem install minitest_should Or add minitest_should as a gem in your Gemfile: gem 'minitest_should', '~> 0.1.1' Then run `bundle install` Testing ------- Testing is done with minitest. Run the tests with: rake Changelog --------- **2011/11/8 - v0.1.1** - ensure dynamic methods have save names **2011/11/8 - v0.1.0** - it exists! License ------- Copyright (c) 2011 Spencer Steffen & Citrus, released under the New BSD License All rights reserved.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
minitest_should-0.1.1 | README.md |