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.
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.
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

Select reporter based on output mode.

TODO: Better name ?

[Validate]