Sha256: 65875e6bbe4fe0790fa584b4999974e249114965d50c4652e3ac6678361c0c34
Contents?: true
Size: 1.28 KB
Versions: 1
Compression:
Stored size: 1.28 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 wordy as a gem in your Gemfile: gem 'minitest_should', '~> 0.1.0' Then run `bundle install` Testing ------- Testing is done with minitest. Run the tests with: rake Changelog --------- **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.0 | README.md |