Module: Configuration::SpecFlowReport
- Includes:
- Albacore::Configuration
- Included in:
- SpecFlowReport
- Defined in:
- lib/albacore/config/specflowreportconfig.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(obj) ⇒ Object
18 19 20 21 |
# File 'lib/albacore/config/specflowreportconfig.rb', line 18 def self.included(obj) specflowreportconfig.command = 'specflow.exe' specflowreportconfig.report = 'nunitexecutionreport' end |
.specflowreportconfig ⇒ Object
8 9 10 |
# File 'lib/albacore/config/specflowreportconfig.rb', line 8 def self.specflowreportconfig @specflowreportconfig ||= OpenStruct.new.extend(OpenStructToHash) end |
Instance Method Details
#specflowreport {|config| ... } ⇒ Object
12 13 14 15 16 |
# File 'lib/albacore/config/specflowreportconfig.rb', line 12 def specflowreport config = SpecFlowReport.specflowreportconfig yield(config) if block_given? config end |