[More Detail] [Collapse All]
Feature: Define setup

Environment steps are defined as setups, which can be listed using
command 'sbuilder.rb list setups'
features/010-setups/010-define-setup.feature
- Background:
link
features/010-setups/010-define-setup.feature:8
Given I successfully run `sbuilder.rb init`
Then the following directories should exist:
default TLA-sbuilder directories
cnf
src
gen
Given an empty directory "cnf_configured"
And a file named "cnf_configured/sbuilder.yaml" with:
setups:
    - setupDirectory: special
- Scenario: "sbuilder.rb list setups" outputs setups pointed by "--cnf-dir" -option
link
features/010-setups/010-define-setup.feature:23
When I successfully run `sbuilder.rb list setups --cnf-dir cnf_configured`
Then the stdout should contain "special"
- Scenario: Error "sbuilder.rb generate" for unknown setup
link
features/010-setups/010-define-setup.feature:27
When I run `sbuilder.rb generate xxx --cnf-dir cnf_configured`
Then the exit status should not be 0
Then stderr should contain "Setup xxx not found"