mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-14 08:16:15 +01:00
35 lines
788 B
Gherkin
35 lines
788 B
Gherkin
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
|
|
"""
|
|
home:Admin
|
|
openSUSE.org
|
|
test:devel
|
|
test:factory
|
|
test:release
|
|
"""
|
|
|
|
|
|
Scenario: Run `osc list` on a project to display project packages
|
|
When I execute osc with args "list test: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 test:factory test-pkgA"
|
|
Then stdout is
|
|
"""
|
|
test-pkgA.changes
|
|
test-pkgA.spec
|
|
"""
|