Module: Cucumber::Messages::Helpers::TestStepResultComparator

Defined in:
lib/cucumber/messages/helpers/test_step_result_comparator.rb

Instance Method Summary collapse

Instance Method Details

#test_step_result_rankingsObject



7
8
9
10
11
12
13
14
15
16
17
# File 'lib/cucumber/messages/helpers/test_step_result_comparator.rb', line 7

def test_step_result_rankings
  {
    TestStepResultStatus::UNKNOWN => 0,
    TestStepResultStatus::PASSED => 1,
    TestStepResultStatus::SKIPPED => 2,
    TestStepResultStatus::PENDING => 3,
    TestStepResultStatus::UNDEFINED => 4,
    TestStepResultStatus::AMBIGUOUS => 5,
    TestStepResultStatus::FAILED => 6
  }
end