Module: Guard::Test::Options

Defined in:
lib/guard/test/options.rb

Constant Summary collapse

DEFAULTS =
{
    all_on_start:   false,
    all_after_pass: false,
    run_all:        { message: 'Running all tests' },
    failed_mode:    :focus, # :keep and :none are other posibilities
    test_paths:     %w[test],
    cmd:            'ruby',
    notification:   true
}.freeze

Class Method Summary collapse

Class Method Details

.with_defaults(options = {}) ⇒ Object



15
16
17
# File 'lib/guard/test/options.rb', line 15

def with_defaults(options = {})
  _deep_merge(DEFAULTS, options).freeze
end