diff options
Diffstat (limited to 'circuitpython/lib/nrfutil/tests/bdd/genpkg_help_information.feature')
-rw-r--r-- | circuitpython/lib/nrfutil/tests/bdd/genpkg_help_information.feature | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/circuitpython/lib/nrfutil/tests/bdd/genpkg_help_information.feature b/circuitpython/lib/nrfutil/tests/bdd/genpkg_help_information.feature new file mode 100644 index 0000000..01d62d5 --- /dev/null +++ b/circuitpython/lib/nrfutil/tests/bdd/genpkg_help_information.feature @@ -0,0 +1,10 @@ +Feature: Help information + Scenario: User types --help + Given user types 'nrfutil dfu genpkg --help' + When user press enter + Then output contains 'Generate a zipfile package for distribution to Apps supporting Nordic DFU' and exit code is 0 + + Scenario: User does not type mandatory arguments + Given user types 'nrfutil dfu genpkg' + When user press enter + Then output contains 'Error: Missing argument "zipfile".' and exit code is 2 |