cucumber/cucumber — Issue #161: Automatically load other assertion libraries
Author: mattwynne
Created: 2011-10-25 16:47:03+00:00
State: open

We often get asked a question to which the answer is:

World(Test::Unit::Assertions)

We automatically include RSpec's assertions if the RSpec gem is visible, I think we should fall back and include Test::Unit::Assertions if not. It would just make Cucumber easier to use. Maybe we should also try falling back to Wrong on the way:

1. Try RSpec
2. Try Wrong
3. fall back to Test::Unit::Assertions

I'll try to patch this in myself unless anyone objects.