Hamcrest4qunit

Hamcrest4QUnit is a port of the Hamcrest matchers set intended to work with QUnit.

Sarting with the version 1.3.0, hamcrest4qunit is provided as a ruby gem.

Installation

Add this line to your application's Gemfile:

gem 'hamcrest4qunit'

And then execute:

$ bundle

Or install it yourself as:

$ gem install hamcrest4qunit

Usage

Add this line to your tests manifest:

//= require hamcrest4qunit

To include the hamcrest4qunit test suite in your own tests, add this line to your tests manifest:

//= require hamcrest4qunit/test

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request