2011-12-29 23:37:23 +00:00
|
|
|
Feature: Bin - Failure
|
|
|
|
Scenario: Run a failing test
|
|
|
|
Given there is no existing "spec/report.txt" file
|
2011-12-30 15:47:08 +00:00
|
|
|
When I run `bin/jasmine-headless-webkit -j spec/jasmine/failure/failure.yml -f File:spec/report.txt`
|
2011-12-29 23:37:23 +00:00
|
|
|
Then the exit status should be 1
|
|
|
|
And the report file "spec/report.txt" should have 1 total, 1 failure, no console usage
|
|
|
|
|