I created this three Remarkable plugins so they could help me in a project I’m working on:
Basically they let you write code like this:
describe User do
should_index 'addresses.city', :as => :address
If this plugins helps you, please consider to recommend me at Working With Rails.
I don’t like Maven at all but sometimes depending of the project and the people you need to use this. After playing with RSpec I stop considering any Java language framework acceptable for testing so for this project I’m working on right now I needed to find a solution that could integrate RSpec with Maven.
After googling I found this post from Bob McWhirter where he presented a official rspec-maven-plugin. I tried to use it but it wasn’t working so I forked it, fixed it and changed some things.
The forked version of rspec-maven-plugin is at GitHub and to use it you should:
install the plugin in the local repository (this is necessary only one time):
git clone git://github.com/dcrec1/rspec-maven-plugin.git
configure your project’s pom.xml adding this:
set the JRUBY_HOME system variable, for example:
The plugin will run in the test phase of the Maven build cycle.