changelog shortlog tags changeset manifest revisions annotate raw

vendor/plugins/rspec/stories/example_groups/output

changeset 15: 64acf98d15f4
author: moriq@moriq.com
date: Mon Mar 10 10:12:58 2008 +0900 (16 years ago)
permissions: -rw-r--r--
description: add plugins rspec
1Story: Getting correct output
2
3 As an RSpec user
4 I want to see output only once
5 So that I don't get confused
6
7 Scenario: Run with ruby
8 Given the file spec/simple_spec.rb
9 When I run it with the ruby interpreter
10 Then the exit code should be 0
11 And the stdout should not match /\d+ tests, \d+ assertions, \d+ failures, \d+ errors/m
12 And the stdout should match "1 example, 0 failures"
13
14 Scenario: Run with CommandLine object
15 Given the file spec/simple_spec.rb
16 When I run it with the CommandLine object
17 Then the exit code should be 0
18 And the stdout should not match "Loaded suite"
19 And the stdout should not match /\d+ tests, \d+ assertions, \d+ failures, \d+ errors/m
20 And the stdout should match "1 example, 0 failures"
21
22 Scenario: Tweak backtrace
23 Given the file stories/failing_story.rb
24 When I run it with the ruby interpreter
25 Then the stdout should not match /\/lib\/spec\//