changelog shortlog tags changeset manifest revisions annotate raw

vendor/plugins/rspec/stories/interop/test_case_with_should_methods

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: Test::Unit::TestCase extended by rspec with should methods
2
3 As an RSpec adopter with existing Test::Unit tests
4 I want to use should_* methods in a Test::Unit::TestCase
5 So that I use RSpec with classes and methods that look more like RSpec examples
6
7 Scenario: Run with ruby
8 Given the file test/test_case_with_should_methods.rb
9 When I run it with the ruby interpreter
10 Then the exit code should be 256
11 And the stdout should match "5 examples, 3 failures"
12
13 Scenario: Run with spec
14 Given the file test/test_case_with_should_methods.rb
15 When I run it with the spec script
16 Then the exit code should be 256
17 And the stdout should match "5 examples, 3 failures"