...
The utilities are java classes that are used to make writing the step definitions easier, used for test validation, etc... .
Create a utility
Create a new java class, with a name fitting for the new utility, in the package of an existing service (e.g. utilities/ehealthbox). For example:
...
- 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.
- Create empty step definitions.
- Create a new utility.
- Write validation code for your new utility.