You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Requirement:
We are implementing a wrapper around cucumberjs to speedup the testing process across the company. We have a requirement to allow for step definitions to call other step definitions as discussed here. To support this we are dynamically adding new steps before the feature runs using the support code library defineStep(...).
Issue:
The runtime offers access to the support code library retrieving it from the configuration. But each time it it is retrieved a new instance is returned.
I would expect this to be tied to the runtime instance so once it is retrieved we return the same instance.
Please let me know if this seems reasonable, I'm happy to make the change and test it.
The text was updated successfully, but these errors were encountered:
Requirement:
We are implementing a wrapper around cucumberjs to speedup the testing process across the company. We have a requirement to allow for step definitions to call other step definitions as discussed here. To support this we are dynamically adding new steps before the feature runs using the support code library defineStep(...).
Issue:
The runtime offers access to the support code library retrieving it from the configuration. But each time it it is retrieved a new instance is returned.
I would expect this to be tied to the runtime instance so once it is retrieved we return the same instance.
Please let me know if this seems reasonable, I'm happy to make the change and test it.
The text was updated successfully, but these errors were encountered: