Sha256: 10ddeb73b0837a63d030ed134b51acd0fc885b7f557d46653c788206f2bf6726

Contents?: true

Size: 1005 Bytes

Versions: 3

Compression:

Stored size: 1005 Bytes

Contents

= Assertions for minitest or test/unit

A collection of usefull assertions.

Gem[https://rubygems.org/gems/simple_assertions] |
Source[https://github.com/neopoly/simple_assertions] |
RDoc[http://rubydoc.info/github/neopoly/simple_assertions/master/file/README.rdoc] |
{<img src="https://secure.travis-ci.org/neopoly/simple_assertions.png?branch=master" alt="Build Status" />}[http://travis-ci.org/neopoly/simple_assertions]

== Only 1.9.3 suported!

Note that only ruby version >= 1.9.3 is supported.

== Usage

=== minitest

To include all assertions for +minitest+ do:

  require 'simple_assertions/minitest'

=== test/unit

To include all assertions for +test/unit+ do:

  require 'simple_assertions/testunit'

=== manual

Or with more control what to include:

  require 'simple_assertions'

  class MiniTest::TestCase
    # include *SimpleAssertions.all
    include SimpleAssertions::AssertErrorsOn
    include SimpleAssertions::AssertRaises
  end


== Assertions

* assert_errors_on
* assert_raises

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
simple_assertions-0.3.2 README.rdoc
simple_assertions-0.3.1 README.rdoc
simple_assertions-0.3.0 README.rdoc