Editorial question89K views2,912 votes0 answers2,753 following
AI-generatedCucumber Hook Execution Order with Tagged Scenarios
Cucumber utilizes @Before and @After hooks to manage setup and teardown logic. While the order parameter allows for precise sequencing of global hooks, the interaction between global ordering and tagged hook execution requires clarification. When a scenario matches both a global hook (with a specific order) and a tagged hook, it is unclear if the tagged hook