Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Junit5 tests no longer found with Tycho 2.2
  • From: "Fauth Dirk (XC-ECO/ESM1)" <Dirk.Fauth@xxxxxxxxxxxx>
  • Date: Wed, 17 Feb 2021 05:46:27 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; 1; spf=pass; dmarc=pass action=none; dkim=pass; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed;; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=laOrPli7nj5i40zaHu/6a7u1ORoBsOu+j3J1paRrtrU=; b=kngS+2aU1yZSWVrKdH7VnQB/Wt2tGhNRkCjxggfrTDzNWxaYFBFScD4q8tSfcPRMfY+U2X8Zwa7l+xIbCmI2XVEU515MghLIC1yTRtScG0P1pJ/k3pHyrbLdIGikZla46EB/8ofNrGEwxfR4RbyawflP0Vs/8RiTTxeG6UCdx/bmF1FQvlXlQWLtvIK9M69Ra2tgAxTa14PdMheYnj0f8gSg4Gx0eLHw/gc+6iC7qaRby7wf2dOXm8rrsV0rvIMP8+ttckYYMYmIElj/vwXtQkxSGLESxFfNOHv7BGTU3LHWI38o1Tgmpl4jvPCryYkp7H+eK3yqSZmNGUQZkS+Cxg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901;; cv=none; b=n6oBq+emTGF0B2Hx14AswteDwVig0HTspTl4w9gcwZwL8t0Z0EKk/XrxCsbunYKJ/pmoFk6ZJzmURIN1ldP327uRHv796tDldwJze8EpCIiehMG4VB7ZxYdBAND5uuVjZ+C2X3oyFA2gahrQAM6yNNTTBkBTl3S1t+2b4N5+67A8RktK+tZ7GjX+l+tyaZZOzCk1f0xn+mHbTIdtrMddaLl6mKnOgDgtKJJthS75BAzGjVY2IfMPO6d/6CE4XwOtLk8wwZxnvqQmt+2vYxvPcL9GBjkc6aXimTXxWPrKB+Y0HYO7gv4tKB33XUPzJ+Ln9hl+lsfSPrJgh7hgKHk+3g==
  • Delivered-to: tycho-user@xxxxxxxxxxx
  • List-archive: <>
  • List-help: <>
  • List-subscribe: <>, <>
  • List-unsubscribe: <>, <>
  • Thread-topic: [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

Dirk Fauth

Cross-Domain Computing Solutions, Cross Automotive Platforms - System, Software and Tools Engineering Engineering Software Methods and Tools1 (XC-ECO/ESM1)
Robert Bosch GmbH | Postfach 30 02 40 | 70442 Stuttgart | GERMANY |
+49 711 811-57819 | Telefax +49 711 811 | Dirk.Fauth@xxxxxxxxxxxx

Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart, HRB 14000;
Aufsichtsratsvorsitzender: Franz Fehrenbach; Geschäftsführung: Dr. Volkmar Denner,
Prof. Dr. Stefan Asenkerschbaumer, Filiz Albrecht, Dr. Michael Bolle, Dr. Christian Fischer,
Dr. Stefan Hartung, Dr. Markus Heyn, Harald Kröger, Rolf Najork, Uwe Raschke

Von: tycho-user <tycho-user-bounces@xxxxxxxxxxx> Im Auftrag von Felix Dorner
Gesendet: Dienstag, 16. Februar 2021 17:18
An: Tycho user list <tycho-user@xxxxxxxxxxx>
Betreff: Re: [tycho-user] Junit5 tests no longer found with Tycho 2.2



On Tue, Feb 16, 2021 at 5:15 PM Lars Vogel <lars.vogel@xxxxxxxxxxx> wrote:

org.junit.jupiter.engine.JupiterTestEngine not a subtype


Well hello, you sound familiar. I fixed that one yesterday, but don't remember how :/ 

Back to the top