|Re: [tycho-user] Junit5 tests no longer found with Tycho 2.2|
Not sure if this fixes your issues, but when I started migrating to JUnit 5 I also faced some weird issues. Maybe because I have JUnit 4 tests running at the same time as JUnit5.
I followed this wiki page:
Then I executed the following steps:
- add JUnit5 library to project build path
- add the following packages to Imported-Packages to be able to run JUnit4 and JUnit5 tests from within the IDE and via Tycho
- org.junit (4.12.0)
- org.junit.jupiter.api (5.1.0)
- Ensure that the JUnit5 library is above the Plug-in Dependencies in the build path
Especially the last step, checking the position of the JUnit5 library in the build path, took me a while and fixed some issues. I can’t remember the exact issues so I don’t know if this helps you. But I wanted to share it so you can check if you are facing a similar issue.
Mit freundlichen Grüßen / Best regards
Von: tycho-user <tycho-user-bounces@xxxxxxxxxxx> Im Auftrag von
On Tue, Feb 16, 2021 at 5:15 PM Lars Vogel <lars.vogel@xxxxxxxxxxx> wrote:
Well hello, you sound familiar. I fixed that one yesterday, but don't remember how :/
Back to the top