Repository URL to install this package:
|
Version:
2.2.2-1 ▾
|
U:RDoc::NormalClass[iI" TestTask:EFI"Rake::TestTask;FI"Rake::TaskLib;Fo:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I",Create a task that runs a set of tests.;To:RDoc::Markup::BlankLine o; ;[I" Example:;T@o:RDoc::Markup::Verbatim;[ I"Rake::TestTask.new do |t| ;TI" t.libs << "test" ;TI"0 t.test_files = FileList['test/test*.rb'] ;TI" t.verbose = true ;TI" end ;T:@format0o; ;[ I"DIf rake is invoked with a "TEST=filename" command line option, ;TI"Hthen the list of test files will be overridden to include only the ;TI"Hfilename specified on the command line. This provides an easy way ;TI"to run just one test.;T@o; ;[ I"GIf rake is invoked with a "TESTOPTS=options" command line option, ;TI"Cthen the given options are passed to the test process after a ;TI"D'--'. This allows Test::Unit options to be passed to the test ;TI"suite.;T@o; ;[I"Examples:;T@o;;[ I">rake test # run tests normally ;TI"Crake test TEST=just_one_file.rb # run just one test file. ;TI"?rake test TESTOPTS="-v" # run in verbose mode ;TI"Brake test TESTOPTS="--runner=fox" # use the fox test runner;T;0: @fileI"lib/rake/testtask.rb;T:0@omit_headings_from_table_of_contents_below0; 0;0[[ I"description;TI"RW;T:publicFI"lib/rake/testtask.rb;T[ I" libs;TI"RW;T;F@6[ I"loader;TI"RW;T;F@6[ I" name;TI"RW;T;F@6[ I"options;TI"RW;T;F@6[ I"pattern;TI"RW;T;F@6[ I"ruby_opts;TI"RW;T;F@6[ I"verbose;TI"RW;T;F@6[ I"warning;TI"RW;T;F@6[ [ [[I" class;T[[;[[I"new;T@6[:protected[ [:private[ [I" instance;T[[;[[I"define;F@6[I"test_files=;F@6[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ; 0;0[@1I" Rake;FcRDoc::NormalModule