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
support request => Please do not submit support request here, see note at the top of this template.
What is the current behavior?
Since #371 fixture and step contexts are separated. That means StopStep can't be used to stop a fixture context as it was before. But Before and After methods (all overloads) are leveraging the private Execute method that uses StopStep under the hood.
This should be fixed as the current behavior will break everyone who uses CoreStepsHelper.Before and CoreStepsHelper.After.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
Run any overload of CoreStepsHeler.Before or CoreStepsHelper.After. An unexpected exception is thrown saying "No step context exists".
What is the expected behavior?
No exception is thrown (given an underlying action doesn't produce one). A corresponding fixture correctly created in the current container.
What is the motivation / use case for changing the behavior?
- make async Step, Before and After obey .NET's ExecutionContext capturing rules
- refactor CoreStepsHelper to be more testable
- write tests for CoreStepsHelper's Step, Before and After
More tests are needed to fully cover CoreStepsHelper.
Fixes#383Fixed#388
- make async Step, Before and After obey .NET's ExecutionContext capturing rules
- refactor CoreStepsHelper to be more testable
- write tests for CoreStepsHelper's Step, Before and After
More tests are needed to fully cover CoreStepsHelper.
Fixes#383Fixed#388
* allure-xunit: provide default config when allureConfig.json is missing
Fixes#381
* Fix async step/fixture wrapper functions
- make async Step, Before and After obey .NET's ExecutionContext capturing rules
- refactor CoreStepsHelper to be more testable
- write tests for CoreStepsHelper's Step, Before and After
More tests are needed to fully cover CoreStepsHelper.
Fixes#383Fixed#388
* Add async suffix to private step methods
This helps to make distinction more clear to a reader.
I'm submitting a ...
What is the current behavior?
Since #371 fixture and step contexts are separated. That means StopStep can't be used to stop a fixture context as it was before. But Before and After methods (all overloads) are leveraging the private Execute method that uses StopStep under the hood.
This should be fixed as the current behavior will break everyone who uses CoreStepsHelper.Before and CoreStepsHelper.After.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
Run any overload of CoreStepsHeler.Before or CoreStepsHelper.After. An unexpected exception is thrown saying "No step context exists".
What is the expected behavior?
No exception is thrown (given an underlying action doesn't produce one). A corresponding fixture correctly created in the current container.
What is the motivation / use case for changing the behavior?
Fix unintended behavior left by #371.
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: