Class: Albacore::TestRunner::Config
- Inherits:
-
Object
- Object
- Albacore::TestRunner::Config
- Includes:
- CmdConfig
- Defined in:
- lib/albacore/task_types/test_runner.rb
Overview
the configuration object for the test runner
Instance Attribute Summary collapse
-
#files ⇒ Object
writeonly
give this property the list of dlls you want to test.
Instance Method Summary collapse
-
#copy_local ⇒ Object
mark that it should be possible to copy the test files local – this is great if you are running a VM and the host disk is mapped as a network drive, which crashes some test runners.
-
#initialize ⇒ Config
constructor
constructor, no parameters.
-
#opts ⇒ Object
gets the configured options.
Methods included from CmdConfig
Methods included from ConfigDSL
#attr_path, #attr_path_accessor
Methods included from Logging
#debug, #err, #error, #fatal, #info, #puts, #trace, #warn
Constructor Details
#initialize ⇒ Config
constructor, no parameters
19 20 21 22 |
# File 'lib/albacore/task_types/test_runner.rb', line 19 def initialize @copy_local = false @files = [] end |
Instance Attribute Details
#files=(value) ⇒ Object
give this property the list of dlls you want to test
16 17 18 |
# File 'lib/albacore/task_types/test_runner.rb', line 16 def files=(value) @files = value end |
Instance Method Details
#copy_local ⇒ Object
mark that it should be possible to copy the test files local – this is great if you are running a VM and the host disk is mapped as a network drive, which crashes some test runners
36 37 38 |
# File 'lib/albacore/task_types/test_runner.rb', line 36 def copy_local @copy_local = true end |
#opts ⇒ Object
gets the configured options
25 26 27 28 29 30 31 |
# File 'lib/albacore/task_types/test_runner.rb', line 25 def opts Map.new( :files => files, :copy_local => @copy_local, :exe => @exe, :parameters => @parameters) end |