forked from Daniel-Marynicz/BehatParallelExtension
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathparallel-rerun.feature
More file actions
26 lines (26 loc) · 783 Bytes
/
parallel-rerun.feature
File metadata and controls
26 lines (26 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Feature: Parallel Rerun
As a programmer, I want to able rerun failed tests in Parallel mode.
Scenario: Test behat tests with failed result
Given I run "behat --config tests/fixtures/fail/behat.yml.dist -l 20"
Then it should fail with:
"""
suite04<DIRECTORY_SEPARATOR>fail.feature:19
"""
And it should fail with:
"""
suite01<DIRECTORY_SEPARATOR>successful.feature:22
"""
And I should see progress bar
And I run "behat --config tests/fixtures/fail/behat.yml.dist --rerun"
And it should fail with:
"""
2 scenarios (2 failed)
"""
And it should fail with:
"""
suite01<DIRECTORY_SEPARATOR>successful.feature:22
"""
And it should fail with:
"""
suite04<DIRECTORY_SEPARATOR>fail.feature:19
"""