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

Central interface for Turn configuration.

Methods

Attributes

exclude  [R]  List of file names or globs to exclude from tests list.
format  [RW]  Reporter type.
framework  [RW]  Test framework, either `:minitest` or `:testunit`. TODO: Is this used any more?
live  [RW]  Test against live install (i.e. Don‘t use loadpath option)
loadpath  [R]  Add these folders to the $LOAD_PATH.
log  [RW]  Log results? May be true/false or log file name. (TODO)
mark  [RW]  Runtime threshold.
matchcase  [RW]  Regexp pattern that all test cases must match to be eligible to run.
mode  [RW]  Report modifier. These act as decorators on the reporter class.
natural  [RW]  Use natural language case names.
pattern  [RW]  Regexp pattern that all test name‘s must match to be eligible to run.
requires  [R]  Libs to require when running tests.
runmode  [RW]  Run mode, which defaults to `nil`, but can also be `:solo`, `:cross` or `:marshal`.
tests  [R]  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

Get selected reporter with any mode decorator.

Load reporter based on output mode and return its class.

TODO: Better name ?

[Validate]