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/22 10:00:01 UTC
[jira] [Commented] (SUREFIRE-1763) surefire does not run junit5
tests
[ https://issues.apache.org/jira/browse/SUREFIRE-1763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17064218#comment-17064218 ]
Tibor Digana commented on SUREFIRE-1763:
----------------------------------------
This is not truth.
We have integration tests with JUnit5 and everybody can see them on the GitHub.
Attach the reproducible project, otherwise we cannot do anything!
> 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
> Priority: Major
>
> 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. I needed I can put the project in the attachement.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)