olexale / bdd_widget_test

A BDD-style widget testing library
MIT License
101 stars 30 forks source link

Create world #64

Closed daniel-deboeverie-lemon closed 8 months ago

daniel-deboeverie-lemon commented 9 months ago

This merge builds on from https://github.com/olexale/bdd_widget_test/pull/60 since it needed a few changes made there.

This PR adds/fixes the following;

lsaudon commented 9 months ago

I'm not familiar with the notion of world in BDD. Do you have any documentation about it?

daniel-deboeverie-lemon commented 9 months ago

https://github.com/cucumber/cucumber-js/blob/main/docs/support_files/world.md

olexale commented 8 months ago

As discussed in #62, this might be achieved with good old DI, so I'm closing the PR. @daniel-deboeverie-lemon, thanks once again for your work!

If you believe it would still be beneficial to introduce the World, feel free to reopen the PR, and let's discuss.