1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-23 05:26:16 +01:00
github.com_openSUSE_osc/behave/features/list.feature

35 lines
790 B
Gherkin
Raw Normal View History

2022-01-24 09:57:40 +01:00
Feature: `osc list` command
Scenario: Run `osc list` with no arguments to display all projects
When I execute osc with args "list"
Then stdout is
"""
devel
2022-01-24 09:57:40 +01:00
home:Admin
openSUSE.org
openSUSE:Factory
release
2022-01-24 09:57:40 +01:00
"""
Scenario: Run `osc list` on a project to display project packages
When I execute osc with args "list openSUSE:Factory"
Then stdout is
"""
multibuild-pkg
multibuild-pkg:flavor1
multibuild-pkg:flavor2
test-pkgA
test-pkgB
"""
Scenario: Run `osc list` on a project package to display package files
When I execute osc with args "list openSUSE:Factory test-pkgA"
Then stdout is
"""
test-pkgA.changes
test-pkgA.spec
"""