kiwigrid / gherkin-testcafe

Run testcafe tests with gherkin syntax
MIT License
69 stars 2 forks source link

docs(readme): updated programming interface section #29

Closed matthew-bettingcloud closed 5 years ago

matthew-bettingcloud commented 5 years ago

Update programming interface section since .steps was removed

Lukas-Kullmann commented 5 years ago

Hi @matthew-bettingcloud,

the only real difference is that you use promise.then instead of async/ await. I would not suggest to users of the package to use promise chaining since I find async/ await more readable.

If you want the explicit close to be part of the documentation, please add it in the async/ await fashion.

Matju-M commented 5 years ago

The only real difference is that I removed the .steps, and replaced it with .src. I'll update the PR accordingly. Just updated the documentation to be very similar to testcafe documentation. https://devexpress.github.io/testcafe/documentation/using-testcafe/programming-interface/runner.html

Lukas-Kullmann commented 5 years ago

Thanks, @matthew-bettingcloud,

you are right. I didn't even notice that. Sorry for my harsh comment.