mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 22:56:15 +01:00
18 lines
508 B
Gherkin
18 lines
508 B
Gherkin
|
Feature: `osc develproject` command
|
||
|
|
||
|
|
||
|
# common steps for all scenarios
|
||
|
Background:
|
||
|
Given I set working directory to "{context.osc.temp}"
|
||
|
And I execute osc with args "checkout test:factory"
|
||
|
And I set working directory to "{context.osc.temp}/test:factory"
|
||
|
|
||
|
|
||
|
Scenario: Run `osc develproject`
|
||
|
When I execute osc with args "develproject"
|
||
|
Then the exit code is 1
|
||
|
And stderr is
|
||
|
"""
|
||
|
Directory '{context.osc.temp}/test:factory' is not a working copy of a package
|
||
|
"""
|