You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tibor Digana (Jira)" <ji...@apache.org> on 2020/03/24 11:19:00 UTC
[jira] [Closed] (SUREFIRE-1763) surefire does not run junit5 tests
[ https://issues.apache.org/jira/browse/SUREFIRE-1763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tibor Digana closed SUREFIRE-1763.
----------------------------------
Assignee: Tibor Digana
Resolution: Duplicate
> surefire does not run junit5 tests
> -----------------------------------
>
> Key: SUREFIRE-1763
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1763
> Project: Maven Surefire
> Issue Type: Bug
> Components: JUnit 5.x support
> Affects Versions: 3.0.0-M4
> Reporter: Jan Hoef
> Assignee: Tibor Digana
> Priority: Major
> Attachments: user-deposit-store.zip
>
>
> I have a spring boot project (2.2.5.RELEASE) and when running junit5 test with maven it does not see any test to execute (run = 0). I have a dependency with spring-boot-starter-test. And tried also to exlude the vintage dependency.
> <dependency>
> <groupId>org.springframework.boot</groupId>
> <artifactId>spring-boot-starter-test</artifactId>
> <scope>test</scope>
> <exclusions>
> <exclusion>
> <groupId>org.junit.vintage</groupId>
> <artifactId>junit-vintage-engine</artifactId>
> </exclusion>
> </exclusions>
> </dependency>
> In my idea the tests are running without any problem. If needed I can put the project in the attachement.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)