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...]
OPTIONS
-h --help display this help information --live don't use loadpath --log log results to a file -n --name=PATTERN only run tests that match regexp PATTERN -I --loadpath=PATHS add given PATHS to the $LOAD_PATH -r --requires=LIBS require given LIBS before running tests -m --minitest Force use of MiniTest framework. -t --trace Turn on invoke/execute tracing, enable full backtrace.
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 --pretty new pretty reporter -M --marshal dump output as YAML (normal run mode only) -Q --queued interactive testing
framework | [R] | Framework to use, :minitest or :testunit. |
live | [R] | Do not use local loadpath. |
loadpath | [R] | List of paths to add to $LOAD_PATH |
log | [R] | Log output. |
matchcase | [R] | Only run testcases matching this pattern. |
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 |