RubyFlow The Ruby and Rails community linklog

Rails matchers in any Ruby testing framework

Many people think of Shoulda as a context framework for Ruby tests. It’s really two libraries, however. One is a context framework and the other is a set of Rails matchers that only depend on Ruby. This means they can be used in any testing framework (Test::Unit, RSpec, whatever). This post has more details, including how to write your own matchers.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in