Shoulda vs Great for rspec and rails

I use rspec and cucumber for BBD. Now I move on to rails 3 and rspec 2, and as I could see both the frames and the wonderful support rails 3 and rspec 2.

I have never used shoulda or wonderful.

What should I use with rspec: shoulda or remarkable ? And why?

+6
ruby-on-rails rspec shoulda
source share
2 answers

I think it’s going to be great, because it was created specifically for Rspec. And it is extremely complete. Whereas Shoulda was created to get rspec-style matches inside Test :: Unit.

Just my quick 2 cents.

[UPDATE] Almost two years later, I am very sorry that the wonderful one is in terrible condition. For rails 3.x, you still have to use beta gems. I hope this changes soon or improves (unlikely), but for now I can only advise using Shoulda.

+7
source share

Just an update, because the Rails world is moving so fast: Shoulda seems to have collected three times as many observers, two times as many forks and twice as many participants. A wonderful last fix was over a year ago, and it should have been this month. However, the last 5 contributions were mostly minor bugs or minor touches.

+2
source share

All Articles