-
Notifications
You must be signed in to change notification settings - Fork 55
/
usage.feature
26 lines (21 loc) · 957 Bytes
/
usage.feature
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Feature: Usage of cucumber-chef command line tool
So that I can make use of cucumber-chef functionality
As a user
I can do really vague shit
Scenario: Show config
Given that cucumber-chef is installed
When I display the config
Then I should see config settings from knife.rb
@invalid_credentials
Scenario: Warn on bad credentials
Given that cucumber-chef is installed
But the config file contains invalid credentials
When I run a cucumber-chef subcommand requiring Opscode and AWS credentials
Then I should be alerted that my credentials are invalid
Scenario: Create a project
Given that cucumber-chef is installed
When I create a project called test_project
Then a new directory will be created named test_project
And it will contain directories for features, step_definitions, and support
And the support directory will contain essential libraries and helper imports
And examples and documentation will be included