Skip to content
Useful assertions for minitest and test/unit.
Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
rakelib
spec
.gitignore
.rubocop.yml
.rubocop_todo.yml
.travis.yml
Gemfile
README.md
Rakefile
simple_assertions.gemspec

README.md

Simple assertions

Travis Gem Version Code Climate Test Coverage Inline docs

Gem | Source | Documentation

A collection of useful assertions.

Usage

require 'simple_assertions'

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

Assertions

  • SimpleAssertions::AssertErrorsOn
  • SimpleAssertions::AssertRaises

Only >= 2.0 suported!

Note that only ruby version >= 2.0 is supported.

Release

edit lib/simple_assertions/version.rb
git commit -am "Release X.Y.Z"
rake release

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
You can’t perform that action at this time.