eclipse-sisu / sisu-project

Sisu Inject
https://www.eclipse.org/sisu
Eclipse Public License 2.0
17 stars 15 forks source link

Support JUnit 5 (Bugzilla Bug 569968) #32

Closed mcculls closed 2 years ago

mcculls commented 2 years ago

This issue was created automatically with bugzilla2github

Bugzilla Bug 569968

Date: 2020-12-30 12:24:41 -0500 From: Benjamin Bentmann <bentmann@sonatype.com> To: Project Inbox <sisu-inbox@eclipse.org>

Last updated: 2020-12-30 12:24:41 -0500

Comment 3213492

Date: 2020-12-30 12:24:41 -0500 From: Benjamin Bentmann <bentmann@sonatype.com>

It would be nice if InjectedTest also supported JUnit 5. Specifically, its setUp() and tearDown() methods need to be annotated with org.junit.jupiter.api.BeforeEach and org.junit.jupiter.api.AfterEach, respectively.

mcculls commented 2 years ago

Fixed by #40, will be available in the upcoming 1.0 release