Class | Turn::Command |
In: |
lib/turn/command.rb
|
Parent: | Object |
Turn - Pretty Unit Test Runner for Ruby
SYNOPSIS
turn [OPTIONS] [RUN MODE] [OUTPUT MODE] [TEST GLOBS ...]
GENERAL OPTIONS
-I, --loadpath=PATHS add paths to $LOAD_PATH -r, --require=LIBS require libraries -n, --name=PATTERN only run tests that match PATTERN -c, --case=PATTERN only run test cases that match PATTERN -b, --backtrace, --trace INT Limit the number of lines of backtrace. --natural Show natualized test names. --[no-]ansi Force use of ANSI codes on or off. --log log results to a file --live do not use local load path
RUN MODES
--normal run all tests in a single process [default] --solo run each test in a separate process --cross run each pair of test files in a separate process
OUTPUT MODES
-O, --outline turn's original case/test outline mode [default] -P, --progress indicates progress with progress bar -D, --dotted test-unit's traditonal dot-progress mode -R, -T, --pretty new pretty output mode -C, --cue cue for action on each failure/error -M, --marshal dump output as YAML (normal run mode only)
COMMAND OPTIONS
--debug turn debug mode on --version display version -h, --help display this help information
ansi | [R] | Force ANSI use on or off. |
live | [R] | Do not use local loadpath. |
loadpath | [R] | List of paths to add to $LOAD_PATH |
log | [R] | Log output. |
mark | [R] | Show extra information. |
matchcase | [R] | Only run testcases matching this pattern. |
natural | [R] | Use natural test case names. |
outmode | [R] | Output mode. |
pattern | [R] | Only run tests matching this pattern. |
requires | [R] | Libraries to require before running tests. |
runmode | [R] | Run mode. |
trace | [R] | Enable full backtrace |
verbose | [R] | Show extra information. |