diff --git a/README.rdoc b/README.rdoc index b73e41dc..6bc8a091 100644 --- a/README.rdoc +++ b/README.rdoc @@ -162,8 +162,12 @@ $ ruby g:/192/lib/ruby/gems/1.9.1/gems/ruby-prof-0.10.2/bin/ruby-prof ./some_fil Starting with the 0.6.1 release, ruby-prof supports profiling tests cases written using Ruby's built-in unit test framework (ie, test derived from -Test::Unit::TestCase). To enable profiling simply add the following line -of code to within your test class: +Test::Unit::TestCase). To enable profiling add the following line somewhere +in your test files: + + require "ruby-prof/test" + +add the following line of code to within your test class: include RubyProf::Test