We''ve made quite a few contributions in our facebooker fork (http://github.com/collectiveidea/facebooker ), but unfortunately, one thing some of our contributions have in common with many others is the lack of testing. I want to change that. I''d like to help lead an effort to make the facebooker tests better. One thing that I think would help is a little better organization and cleanup of the existing test suite. Part of it is just baggage from lots of copying and pasting, but some of it is just inherent to Test::Unit. Would anyone be opposed to moving towards using Shoulda or RSpec for the tests? I think they would allow us to clean up the test suite and make it more accessible to contributors. I''ve personally been a long time fan of RSpec, but I think Shoulda would be a better fit here. Thoughts? Brandon -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/facebooker-talk/attachments/20090302/c85cef74/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part URL: <http://rubyforge.org/pipermail/facebooker-talk/attachments/20090302/c85cef74/attachment.bin>
I think this is a fantastic idea. Even I have a tough time adding tests at times. I''d really like to clean that up. I''m fine with either shoulda or rspec. Mike On Mar 2, 2009, at 11:07 PM, Brandon Keepers wrote:> We''ve made quite a few contributions in our facebooker fork (http://github.com/collectiveidea/facebooker > ), but unfortunately, one thing some of our contributions have in > common with many others is the lack of testing. I want to change > that. I''d like to help lead an effort to make the facebooker tests > better. > > One thing that I think would help is a little better organization > and cleanup of the existing test suite. Part of it is just baggage > from lots of copying and pasting, but some of it is just inherent to > Test::Unit. Would anyone be opposed to moving towards using Shoulda > or RSpec for the tests? I think they would allow us to clean up the > test suite and make it more accessible to contributors. > > I''ve personally been a long time fan of RSpec, but I think Shoulda > would be a better fit here. > > Thoughts? > > Brandon > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk-- Mike Mangino http://www.elevatedrails.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/facebooker-talk/attachments/20090303/07368427/attachment-0001.html>
Reasonably Related Threads
- RSpec, shoulda-matchers and Rails model attributes validations
- How to play with shoulda with functional testing
- rspec2 not working with shoulda
- Shoulda issue: no more "should have_instance_methods" ?
- Did rails or shoulda go insane on the inflection of 'taxes'?