Sha256: b845c9218ec5868631896f187f4efab3043cd0e468591b01d70e363fb90047bd
Contents?: true
Size: 1.87 KB
Versions: 22
Compression:
Stored size: 1.87 KB
Contents
U:RDoc::NormalClass[iI" TestTask:ETI"Rake::TestTask;TI"Rake::TaskLib;To: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:;To:RDoc::Markup::Verbatim;[I"require "rake/testtask" ;TI" ;TI"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" deps;TI"RW;T:publicFI"lib/rake/testtask.rb;T[ I"description;TI"RW;T;F@8[ I" libs;TI"RW;T;F@8[ I"loader;TI"RW;T;F@8[ I" name;TI"RW;T;F@8[ I"options;TI"RW;T;F@8[ I"pattern;TI"RW;T;F@8[ I"ruby_opts;TI"RW;T;F@8[ I"verbose;TI"RW;T;F@8[ I"warning;TI"RW;T;F@8[ [ [[I" class;T[[;[[I"new;T@8[:protected[ [:private[ [I" instance;T[[;[[I"define;F@8[I"test_files=;F@8[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ; 0;0[@3I" Rake;FcRDoc::NormalModule
Version data entries
22 entries across 22 versions & 2 rubygems