I have started to play with
http://pivots.pivotallabs.com/users/brian/blog/articles/352-introducing-rr
and I really like its hyper-minimalist but readable syntax ...
For the sake of flexibility, I'd like to use more than 1 mock framework.
E.g.: The specs which come with the restful-authentication
Ashley, I ran the DRY reporter on Rails 2.0.2 and you'll find the results on
http://www.21croissants.com/files/rails_2_0_2_DRY_report.html
I have done a lot of refactoring lately (but did not changed the external
API) and will commit my code soon ...
Ashley Moran-4 wrote:
>
>
>
> Just out of
thanks for your feedback Ashley.
You're right and one of my next action will be to create a gem so it can be
use in any ruby project, I will keep the Rails plugin of course.
At the moment, you can write :
require ... specific your location ... +
'/lib/dont_repeat_yourself/reporter'
dry_reporte
I wrote a Rails plugin which uses simian to look for duplicates lines in your
code and reports in html format, Textmate or Netbeans.
I wrote it using RSpec and I have included a RSpec custom matcher:
it { rails_application.
with_threshold_of_duplicate_lines(4).
should be_DRY }
If you use Autot
I am using RSpec 1.1.3 with ZenTest-3.9.1 and I wanted to share my set up.
If your cpu is at 100% when autotest is running and the fan noise is getting
too much, don't worry there's something you can do.
You can reduce the frequency at which autotest checks for changes on your
file system by add
question, reply to this email or contact me at
http://21croissants.com/contact
JM
21croissants wrote:
>
> Hi,
>
> I just updated to the latest RSpec 1.1.3 + ZenTest 3.9.1.
> I also have rspec 1.1.3 installed as a gem
>
> When starting autotest with -v option, there is a