~ubuntu-branches/ubuntu/wily/cucumber/wily-proposed

« back to all changes in this revision

Viewing changes to legacy_features/diffing.feature

  • Committer: Package Import Robot
  • Author(s): Cédric Boutillier, Antonio Terceiro, Cédric Boutillier
  • Date: 2015-06-20 16:52:32 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20150620165232-hznc8mxma08er27p
Tags: 2.0.0-1
[ Antonio Terceiro ]
* debian/cucumber.pod: fix typo in manpage (Closes: #767215)

[ Cédric Boutillier ]
* Imported Upstream version 2.0.0
* rename the file in debian/missing-source to remove -min suffix, and make
  lintian happy
* reproducibility: use last changelog date to build the manpage
* update 0004-Update_default_binary_path.patch
* drop 0001-Remove-rubygems-bundler-stuff-from-spec_helper.patch, not needed
  anymore
* build-depend on pry
* depend on ruby-cucumber-core

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Feature: Cucumber command line
2
 
  In order to write better software
3
 
  Developers should be able to execute requirements as tests
4
 
 
5
 
  @rspec2
6
 
  Scenario: Run single failing scenario with default diff enabled
7
 
    When I run cucumber -q features/failing_expectation.feature
8
 
    Then it should fail with
9
 
      """
10
 
      Feature: Failing expectation
11
 
 
12
 
        Scenario: Failing expectation
13
 
          Given failing expectation
14
 
            expected: "that"
15
 
                 got: "this" (using ==) (RSpec::Expectations::ExpectationNotMetError)
16
 
            ./features/step_definitions/sample_steps.rb:63:in `/^failing expectation$/'
17
 
            features/failing_expectation.feature:4:in `Given failing expectation'
18
 
      
19
 
      Failing Scenarios:
20
 
      cucumber features/failing_expectation.feature:3
21
 
      
22
 
      1 scenario (1 failed)
23
 
      1 step (1 failed)
24
 
 
25
 
      """