Using Cucumber with Expertiza: Difference between revisions
Jump to navigation
Jump to search
m (→Features) |
|||
Line 16: | Line 16: | ||
===Capybara=== | ===Capybara=== | ||
== | ==Cucumber Test File Directories== | ||
===Features=== | ===Features=== | ||
In Expertiza, features are stored in /features. Within this folder you can find several sub-folders such as /admin, /instructor, and /student. This structure is to organize tests that apply to specific roles. | In Expertiza, features are stored in /features. Within this folder you can find several sub-folders such as /admin, /instructor, and /student. This structure is to organize tests that apply to specific roles. |
Revision as of 19:05, 8 February 2013
Cucumber Stack
Gherkin
Gherkin is the language used to write Cucumber executable feature specifications in conversational syntax. The syntax provides structure and meaning using special keywords including:
- Feature
- Background
- Scenario
- Given
- When
- Then
- And
- But
- Scenario Outline
- Examples
Capybara
Cucumber Test File Directories
Features
In Expertiza, features are stored in /features. Within this folder you can find several sub-folders such as /admin, /instructor, and /student. This structure is to organize tests that apply to specific roles.