Some trivial cucumber tests
This commit is contained in:
40
features/thin_check.feature
Normal file
40
features/thin_check.feature
Normal file
@@ -0,0 +1,40 @@
|
||||
Feature: thin_check
|
||||
Scenario: print version (-V flag)
|
||||
When I run `thin_check -V`
|
||||
Then it should pass with:
|
||||
|
||||
"""
|
||||
0.1.5
|
||||
"""
|
||||
|
||||
Scenario: print version (--version flag)
|
||||
When I run `thin_check --version`
|
||||
Then it should pass with:
|
||||
|
||||
"""
|
||||
0.1.5
|
||||
"""
|
||||
|
||||
Scenario: print help
|
||||
When I run `thin_check --help`
|
||||
Then it should pass with:
|
||||
|
||||
"""
|
||||
Usage: thin_check [options] {device|file}
|
||||
Options:
|
||||
{-q|--quiet}
|
||||
{-h|--help}
|
||||
{-V|--version}
|
||||
"""
|
||||
|
||||
Scenario: print help
|
||||
When I run `thin_check -h`
|
||||
Then it should pass with:
|
||||
|
||||
"""
|
||||
Usage: thin_check [options] {device|file}
|
||||
Options:
|
||||
{-q|--quiet}
|
||||
{-h|--help}
|
||||
{-V|--version}
|
||||
"""
|
||||
Reference in New Issue
Block a user