Skip to content

gradle testNative ignores *IT tests #4881

@gastaldi

Description

@gastaldi

Describe the bug
When I run gradle testNative in a Quarkus Gradle project, the NativeGreetingResourceIT test is not executed.

Expected behavior
IT test is executed

Actual behavior
It is not executed. It does execute if I rename to NativeGreetingTest.

To Reproduce
Steps to reproduce the behavior:
1.

mvn io.quarkus:quarkus-maven-plugin:999-SNAPSHOT:create -DprojectGroupId=org.acme -DprojectArtifactId=foo -DclassName="org.acme.quickstart.GreetingResource" -Dpath="/hello" -Dextensions="resteasy" -DbuildTool=gradle
  1. gradle buildNative --docker-build=true testNative

Additional context
If I rename the test inside the native-test directory to NativeGreetingResourceTest it works

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions