Skip to content

Commit

Permalink
Add first real cucumber scenario.
Browse files Browse the repository at this point in the history
Still TODO: define product-type.csv and use it.
  • Loading branch information
hajoeichler committed Jul 29, 2015
1 parent 0d5a95e commit 40970d4
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions features/common.feature
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,21 @@ Feature: Show common information for tooling
"""
Usage:
"""

Scenario: Show general help
When I run `pwd`

This comment has been minimized.

Copy link
@svenmueller

svenmueller Jul 29, 2015

Member

why pwd?

This comment has been minimized.

Copy link
@hajoeichler

hajoeichler Jul 29, 2015

Author Member

relic - let me remove it

When I run `product-type-generator --attributes ../../data/tests/product-types-attributes-boolean-text-number.csv --types ../../data/sample-product-types.csv --target .`
Then the exit status should be 0
And the output should contain:
"""
About to read CSV files...
Running generator...
"""
And the output should contain:
"""
About to write files...
Generated 5 files for normal product-types
Finished generating files, checking results in target folder: .
Found 5 files in target folder .
Execution successfully finished
"""

1 comment on commit 40970d4

@svenmueller
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Please sign in to comment.