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
Our BDD test implementations currently have a hack to only run a part of the Before scenario hook once, protected by a boolean. This was caused by Cucumber's Java implementation not making @BeforeAll and @afterall available in the way JUnit does. However, as of cucumber/cucumber-jvm#1876 it appears the Java Cucumber implementation offeres these hooks.
Proposed Solution
Replace the hack to run part of Before block only once using @BeforeAll and @AfterAll in new Cucumber releases.
The text was updated successfully, but these errors were encountered:
Problem to Solve
Our BDD test implementations currently have a hack to only run a part of the
Before
scenario hook once, protected by a boolean. This was caused by Cucumber's Java implementation not making @BeforeAll and @afterall available in the way JUnit does. However, as of cucumber/cucumber-jvm#1876 it appears the Java Cucumber implementation offeres these hooks.Proposed Solution
Replace the hack to run part of
Before
block only once using@BeforeAll
and@AfterAll
in new Cucumber releases.The text was updated successfully, but these errors were encountered: