...
A very good explanation of everything you can do with a feature file can be found here.
Steps
Create
...
a step file
You can write a new step in one of the existing step files or you can create a new java class for it in the steps package. For example:
Edit a step
A very good explanation of how step definitions work can be found here.
...
FAQ
How to add a new service
...
First of all, you have to create new packages for your new service:
- Create a new package in the feature package (e.g. features/newservice).
- Create a new package in the steps package (e.g. steps/newservice).
- Create a new package in the utils package (e.g. utils/newservice).
When that is done, you can follow these steps in the following order:
- Create a new feature file.
- Edit your new feature file.
- Create a new step file.
- Write your step definitions.
- Create a new utility.
- Write validation code for your new utility.