Selenium-Foundation icon indicating copy to clipboard operation
Selenium-Foundation copied to clipboard

Add support for JUnit 5 Jupiter

Open sbabcoc opened this issue 4 years ago • 1 comments

The lack of support for JUnit 5 is a serious deficiency at this point. Add this support, examining the possibility of migrating the existing support for TestNG and JUnit 4 into platform-specific subprojects.

sbabcoc avatar Apr 20 '21 23:04 sbabcoc

Create an extension, implementing these interfaces:

  • Extension
  • BeforeAllCallback
  • BeforeEachCallback
  • InvocationInterceptor
  • AfterTestExecutionCallback
  • AfterAllCallback
  • TestWatcher

For an example, take a look at this.

sbabcoc avatar May 06 '23 06:05 sbabcoc