Forum Discussion

hannecroonen's avatar
hannecroonen
Contributor
3 years ago
Solved

BDD: read information given in feature file

Hi everyone;   Small question:   I am writing tests for our program and in every Feature File I write pre-conditions necessary before running the tests. These pre-conditions are just written as ...
  • hannecroonen's avatar
    3 years ago

    Never mind, I found it already ðŸ˜… 

    When I was typing this it suddenly came to mind you can read the description of any Feature File with feature.Description.

    If I just split that description on pre-condition I can log that to the Messages.