I have prototyped a new gem called Shoulda Matchmakers that facilitates
the generation of Rspec tests for your existing ActiveRecord models and
ActionController controllers using Shoulda Matchers. It is not turn-key,
but rather intended to automate the more mundane, repetitive tasks
involved in setting up your Rspec tests.
Since it is a prototype, I would truly appreciate any feedback that you
are willing to provide. There should be no risk as Shoulda Matchmakers
does not alter your application’s code or functionality. It runs
external to your application. Also, by default, the tests generated are
saved to a separate subdirectory within ‘spec’ so as not to overwrite
any
of your existing tests.
You can find it here: GitHub - secondstreetmedia/shoulda_matchmakers: Facilitates the generation of Rspec tests for ActiveRecord models and ActionController controllers using Shoulda Matchers.
This is my first gem which means there may be newbie issues, but I’m
more than eager to learn from them. So, any and all constructive
criticism welcome.
Thanks!