hibernate-orm icon indicating copy to clipboard operation
hibernate-orm copied to clipboard

HHH-14614 - Better support for JUnit 5 on-failure handling

Open sebersole opened this issue 3 years ago • 0 comments

HHH-14614 - Better support for JUnit 5 on-failure handling

  • this commit is just the "infrastructure" piece.
  • still need to come back and use it.

The benefit is this allows us to perform some action when tests fail. E.g., atm we are forced to create and drop test data for each test method - @BeforeEach and @AfterEach. This support allows us to use @BeforeAll and @AfterAll. Previously this would be a potential problem when tests fail. This support though let's us hook into the "failure process" to rebuild the SessionFactory when we have these failures

sebersole avatar May 26 '22 18:05 sebersole