mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-24 08:04:08 +01:00
Added Rspec and Webrat plugins and started porting Selenium on Rails tests to Rspec Plain Text Stories driving Webrat driving Selenium.
This commit is contained in:
parent
7b432a74ed
commit
2c09db45c5
602 changed files with 47788 additions and 29 deletions
25
vendor/plugins/rspec/stories/example_groups/output
vendored
Normal file
25
vendor/plugins/rspec/stories/example_groups/output
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
Story: Getting correct output
|
||||
|
||||
As an RSpec user
|
||||
I want to see output only once
|
||||
So that I don't get confused
|
||||
|
||||
Scenario: Run with ruby
|
||||
Given the file spec/simple_spec.rb
|
||||
When I run it with the ruby interpreter
|
||||
Then the exit code should be 0
|
||||
And the stdout should not match /\d+ tests, \d+ assertions, \d+ failures, \d+ errors/m
|
||||
And the stdout should match "1 example, 0 failures"
|
||||
|
||||
Scenario: Run with CommandLine object
|
||||
Given the file spec/simple_spec.rb
|
||||
When I run it with the CommandLine object
|
||||
Then the exit code should be 0
|
||||
And the stdout should not match "Loaded suite"
|
||||
And the stdout should not match /\d+ tests, \d+ assertions, \d+ failures, \d+ errors/m
|
||||
And the stdout should match "1 example, 0 failures"
|
||||
|
||||
Scenario: Tweak backtrace
|
||||
Given the file stories/failing_story.rb
|
||||
When I run it with the ruby interpreter
|
||||
Then the stdout should not match /\/lib\/spec\//
|
||||
Loading…
Add table
Add a link
Reference in a new issue