courgette
v5.0.0
Published
Courgette - Bootstrap your cucumber tests with cucumber, protractor and a structured way of creating page objects and component objects
Downloads
39
Readme
Courgette - Bringing sanity to test automation with Selenium
Documentation: Courgette-Testing.com
Courgette gives you:
- a load of generic step definitions for you to begin writing Given When Then scenarios that will run as soon as you add the CSS or XPath selectors to the .page (YAML) file
- snippets or live templates for intellisense in your favourite IDE to write those steps accurately and quickly
- Courgette API for creating your own step definitions
- screenshots on error for debugging
- a step for named screenshots
- an HTML report
- a Cucumber formatter for nice output in the terminal
- a Cucumber formatter for step definition usage
- an error report summary in the terminal output
- Windows, Mac, Linux, iOS, and Android support
- ability to DRY out selectors with .component (YAML) files
- ability to run against cloud services that provide a selenium grid
- ability to easily create true BDD user stories
Contributing
Please get in touch if you'd like to contribute to this project.
To get started:
- Clone this repository and cd into it
- Install nodeJS if you don't already have it
- Install node_modules
npm install
- Read the Getting started page
- Run the tests
npm run ct
If you have any problems with the above steps, please create an issue.
If you've added new steps, please create the snippets files by running the script: npm run snippets