Versions Compared

Key

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

...

You can write a new step in one of the existing step files or you can create a new file java class for it in the steps package. For example:

...

Some useful tips to work with step definitions can be found here.

Utilities

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:

Image Added

Edit a utility

You can write utilities for anything you want in these files.

An example of how the validation of the tests works can be found in, for example, utils/ehealthbox/BoxInfo.java.

FAQ

How to add a new service

...