@DisableIfTestFails
vs @BeforeEach
#703
Labels
⚙️ component: Pioneer
Issues about Pioneer own things (e.g. utils)
🚦 status: in discussion
📖 theme: extensions
🏗️ type: enhancement
Hi,
Thanks for an interesting project. It seems like
@DisableIfTestFails
does not currently honor failures in@BeforeEach
methods. In other words, if a@BeforeEach
method consistently fails, all test methods in the given class will be executed even when this annotation is being used.Is this by design, or is it an oversight? The reason I ask is that I'm currently considering adopting this annotation to minimize the log output in case of "catastrophic failure" for some of our tests. In some cases, the tests fail as early as in the
@BeforeEach
method => will still produce significant amount of logging.The text was updated successfully, but these errors were encountered: