Class Turn::Configuration
In: lib/turn/controller.rb
Parent: Object

Methods

exclude=   files   live?   loadpath=   natural?   new   reporter   requires=   suite_name   tests=   verbose?  

Attributes

exclude  [RW]  List of file names or globs to exclude from tests list.
format  [RW]  Reporter type.
framework  [RW]  Test framework, either :minitest or :testunit
live  [RW]  Test against live install (i.e. Don‘t use loadpath option)
loadpath  [RW]  Add these folders to the $LOAD_PATH.
log  [RW]  Log results? May be true/false or log file name. (TODO)
matchcase  [RW]  Regexp pattern that all test cases must match to be eligible to run.
natural  [RW]  Use natural language case names.
pattern  [RW]  Regexp pattern that all test name‘s must match to be eligible to run.
requires  [RW]  Libs to require when running tests.
runmode  [RW]  Run mode.
tests  [RW]  List of if file names or glob pattern of tests to run.
trace  [RW]  Enable full backtrace
verbose  [RW]  Verbose output?

Public Class methods

Public Instance methods

Select reporter based on output mode.

TODO: Better name ?

[Validate]