1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-27 02:16:12 +01:00
github.com_openSUSE_osc/behave/features/addcontainers-project-package.feature

31 lines
916 B
Gherkin
Raw Normal View History

Feature: `osc addcontainers` command
# common steps for all scenarios
Background:
Given I set working directory to "{context.osc.temp}"
Scenario: Run `osc addcontainers <project> <package>`
When I execute osc with args "addcontainers test:factory test-pkgA"
Then stdout is
"""
Adding containers to package 'test:factory/test-pkgA'
"""
Scenario: Run `osc addcontainers <project>/<package>`
When I execute osc with args "addcontainers test:factory/test-pkgA"
Then stdout is
"""
Adding containers to package 'test:factory/test-pkgA'
"""
Scenario: Run `osc addcontainers <project> <package> --extend-package-names`
When I execute osc with args "addcontainers test:factory test-pkgA --extend-package-names"
Then stdout is
"""
Adding containers to package 'test:factory/test-pkgA' options: extend-package-names
"""