Sha256: b11ad15bb915f4308005f442cba8422571eeaed3a91acd825c14a2a64b44dd77

Contents?: true

Size: 1.13 KB

Versions: 12

Compression:

Stored size: 1.13 KB

Contents

Feature: continuous integration of RSpec 1.x specs
  In order to facilitate TDD and enhance code quality
  RightSupport should provide a Rake CI harness with JUnit XML output
  So any Ruby project can have a beautiful, info-rich Jenkins project

  Background:
    Given a Ruby application
    And a Gemfile
    And a gem dependency on 'rake ~> 0.9'
    And a gem dependency on 'rspec ~> 1.0'
    And a gem dependency on 'builder ~> 3.0'
    And the Rakefile contains a RightSupport::CI::RakeTask

  Scenario: passing RSpec 1.x examples
    Given a trivial RSpec spec
    When I install the bundle
    And I rake 'ci:spec'
    Then the command should succeed
    And the file 'measurement/rspec/rspec.xml' should mention 2 passing test cases
    And the file 'measurement/rspec/rspec.xml' should mention 0 failing test cases

  Scenario: failing RSpec 1.x examples
    Given a trivial failing RSpec spec
    When I install the bundle
    And I rake 'ci:spec'
    Then the command should fail
    And the file 'measurement/rspec/rspec.xml' should mention 2 passing test cases
    And the file 'measurement/rspec/rspec.xml' should mention 1 failing test case

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
right_support-2.8.12 features/continuous_integration_rspec1.feature
right_support-2.8.11 features/continuous_integration_rspec1.feature
right_support-2.8.10 features/continuous_integration_rspec1.feature
right_support-2.8.9 features/continuous_integration_rspec1.feature
right_support-2.8.8 features/continuous_integration_rspec1.feature
right_support-2.8.7 features/continuous_integration_rspec1.feature
right_support-2.8.6 features/continuous_integration_rspec1.feature
right_support-2.8.3 features/continuous_integration_rspec1.feature
right_support-2.8.2 features/continuous_integration_rspec1.feature
right_support-2.8.1 features/continuous_integration_rspec1.feature
right_support-2.8.0 features/continuous_integration_rspec1.feature
right_support-2.7.0 features/continuous_integration_rspec1.feature