Module: ProbeDockCucumber

Defined in:
lib/probe_dock_cucumber/formatter.rb,
lib/probe_dock_cucumber.rb,
lib/probe_dock_cucumber/config.rb

Overview

Cucumber formatter to send test results to Probe Dock.

The following events can be received by a formatter:

before_features

before_feature
  before_comment
    comment_line
  after_comment
  before_tags
    tag_name
  after_tags
  feature_name
  before_feature_element
    before_tags
      tag_name
    after_tags
    scenario_name
    before_steps
      before_step
        before_step_result
          step_name
        after_step_result
      after_step
    after_steps
  after_feature_element
after_feature

after_features

Defined Under Namespace

Classes: Error, Formatter

Constant Summary collapse

VERSION =
'0.1.3'

Class Method Summary collapse

Class Method Details

.configObject



2
3
4
# File 'lib/probe_dock_cucumber/config.rb', line 2

def self.config
  @config ||= ProbeDockProbe::Config.new
end

.config=(config) ⇒ Object



6
7
8
# File 'lib/probe_dock_cucumber/config.rb', line 6

def self.config= config
  @config = config
end

.configure(options = {}, &block) ⇒ Object



10
11
12
13
14
# File 'lib/probe_dock_cucumber/config.rb', line 10

def self.configure options = {}, &block
  config.project.category = 'Cucumber'
  config.load! &block
  config
end