Sha256: 09fa92f2912df2dabe2c517e82ac9bd686a4443cc09818e2da7c27fdf304bc8a

Contents?: true

Size: 1008 Bytes

Versions: 2

Compression:

Stored size: 1008 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.2 suported!

Note that only ruby version >= 1.9.2 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

2 entries across 2 versions & 1 rubygems

Version Path
simple_assertions-0.4.1 README.rdoc
simple_assertions-0.4.0 README.rdoc