Skip to content

Commit 320dd2c

Browse files
authored
Simplify end-to-end test (#141)
1 parent e935625 commit 320dd2c

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

features/commands/version.feature

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
Feature: display the installed version
22

3-
Scenario: short version
4-
When I run "contest -V"
3+
Scenario Outline:
4+
When I run "contest <ARG>"
55
Then it exits with this output
66
"""
77
contest 0.3.0
88
"""
99

10-
Scenario: long version
11-
When I run "contest --version"
12-
Then it exits with this output
13-
"""
14-
contest 0.3.0
15-
"""
10+
Examples:
11+
| ARG |
12+
| -V |
13+
| --version |

0 commit comments

Comments
 (0)