Test project for demo Rybellion framework.
This repository is just a showcase for demo how to use Rybellion framework. You can download as zip to initial your test project directories.
- Ensure the Rybellion framework is already setup, see: https://github.com/gigapixel/rybellion
- Download zip to your local machine.
- Extract to any location (You can rename root directory to another name)
- At the root directory run example test with following command:
cucumber --quiet
Reference for cucumber command see: Running Features
Following are brief steps to write your own test on Rybellion (more details will comming soon).
- Create page definition file (.yaml) and save in 'page-definitions' directory.
- see example from 'WatirExample.yaml' or 'WatirExampleResponse.yaml'
- Create feature file (.feature) and save in 'features' directory.
- see example from 'example.feature'
You can run test with following cucumber command at your project directory.
To run all feature files use:
cucumber --quiet
To run with specified tags use:
cucumber --quiet --tags=@your_tag
To capture test result as html file use:
cucumber --quiet --format=html > your_file.html