Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

beforescenario not called with dynamically added stages #1447

Open
adrian-herscu opened this issue Nov 12, 2023 · 1 comment
Open

beforescenario not called with dynamically added stages #1447

adrian-herscu opened this issue Nov 12, 2023 · 1 comment
Assignees
Labels

Comments

@adrian-herscu
Copy link

In some scenario call addStage(OtherGiven.class)
then, call its methods in that scenario.

@BeforeScenario marked methods in OtherGiven class will not be called.

@l-1squared
Copy link
Collaborator

Hi,
sorry for the late reply, I've been on holiday.
You present an interesting issue here; Clearly, it appears natural to expect "OtherGivens" before scenario method to be loaded. On the other hand, we have literally started the scenario already, so maybe it is not a good idea to run a "before scenario method here..." I think I need to play around with this a bit...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants