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 java class for it in the steps package. For example:

...

Create a step definition

A very good explanation of how step definitions work can be found here.

...

  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