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
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request