jasmine-headless-webkit/features/bin/failure.feature

8 lines
344 B
Gherkin
Raw Normal View History

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
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