Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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:

  1. Create a new feature file.
  2. Edit your new feature file.
  3. Create a new step file.
  4. Create empty step definitions.
  5. Create a new utility.
  6. Write validation code for your new utility.