Added tags to scenarios
This commit is contained in:
parent
94b56fbc34
commit
29934bcd60
|
@ -0,0 +1,9 @@
|
|||
[pytest]
|
||||
markers =
|
||||
add
|
||||
cucumber-basket
|
||||
duckduckgo
|
||||
remove
|
||||
service
|
||||
web
|
||||
testpaths = tests
|
|
@ -1,22 +1,31 @@
|
|||
@cucumber-basket
|
||||
Feature: Cucumber Basket
|
||||
As a gardener,
|
||||
I want to carry cucumbers in a basket,
|
||||
So that I don't drop them all.
|
||||
|
||||
|
||||
@add
|
||||
Scenario Outline: Add cucumbers to a basket
|
||||
Given the basket has "<initial>" cucumbers
|
||||
When "<some>" cucumbers are added to the basket
|
||||
Then the basket contains "<total>" cucumbers
|
||||
|
||||
Examples: Amounts
|
||||
Examples:
|
||||
| initial | some | total |
|
||||
| 2 | 4 | 6 |
|
||||
| 0 | 3 | 3 |
|
||||
| 2 | 4 | 6 |
|
||||
| 5 | 5 | 10 |
|
||||
|
||||
|
||||
Scenario: Remove cucumbers from a basket
|
||||
Given the basket has "8" cucumbers
|
||||
When "3" cucumbers are removed from the basket
|
||||
Then the basket contains "5" cucumbers
|
||||
@remove
|
||||
Scenario Outline: Remove cucumbers from the basket
|
||||
Given the basket has "<initial>" cucumbers
|
||||
When "<some>" cucumbers are removed from the basket
|
||||
Then the basket contains "<total>" cucumbers
|
||||
|
||||
Examples:
|
||||
| initial | some | total |
|
||||
| 8 | 3 | 5 |
|
||||
| 10 | 4 | 6 |
|
||||
| 7 | 0 | 7 |
|
|
@ -1,3 +1,4 @@
|
|||
@service @duckduckgo
|
||||
Feature: DuckDuckGo Instant Answer API
|
||||
As an application developer,
|
||||
I want to get instant answers for search terms via a REST API,
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
@web @duckduckgo
|
||||
Feature: DuckDuckGo Web Browsing
|
||||
As a web surfer,
|
||||
I want to find information online,
|
||||
|
|
Loading…
Reference in New Issue