Upgraded Rails and RSpec
[monkeycharger.git] / vendor / plugins / rspec / doc / src / documentation / tools / heckle.page
blob4126041bbbd2e71b40302fce51ae5238618fb9d7
1 ---
2 title: Heckle
3 ---
4 h2. Heckle
6 RSpec has tight integration with "Heckle":https://rubyforge.org/projects/seattlerb/. Heckle is a tool inspired from
7 "Jester":http://jester.sourceforge.net/.
9 RSpec's Heckle support will run your specs many times, each time with a tiny mutation to your code (the 
10 application code, not the spec code).
12 The idea is that if your specs still pass after the code has been mutated, then your specs are incomplete,
13 and RSpec will tell you.
15 h3. Running specs with Heckle
17 Just use the <tt>--heckle</tt> option and give it an argument, which should be the full name of a module
18 or a method. Run <tt>spec --help</tt> for further details.