Sha256: 2e4931380dcb9f8cf55e4a91da9ebe3ff691f29e81e42e0d2c3456fc7fc2f7c3

Contents?: true

Size: 528 Bytes

Versions: 1

Compression:

Stored size: 528 Bytes

Contents

= Assertions for test/unit

Useful assertions for test/unit

== 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::AssertErrorsOn
    include SimpleAssertions::AssertRaises
  end


== Assertions

* assert_errors_on
* assert_raises

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
simple_assertions-0.2.0 README.rdoc