[jboss-jira] [JBoss JIRA] (WFLY-13629) WildFly kitchensink quickstart doesn't run test when started by Maven
Chao Wang (Jira)
issues at jboss.org
Tue Jul 14 00:37:00 EDT 2020
[ https://issues.redhat.com/browse/WFLY-13629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14237841#comment-14237841 ]
Chao Wang commented on WFLY-13629:
----------------------------------
That is an integration test which is supposed to run with arquillian managed / remote server.
please refer to https://github.com/wildfly/quickstart/blob/master/guide/KitchensinkQuickstart.asciidoc
> WildFly kitchensink quickstart doesn't run test when started by Maven
> ---------------------------------------------------------------------
>
> Key: WFLY-13629
> URL: https://issues.redhat.com/browse/WFLY-13629
> Project: WildFly
> Issue Type: Bug
> Components: Quickstarts
> Affects Versions: 20.0.0.Final
> Reporter: Norbert Kawiński
> Assignee: Eduardo Martins
> Priority: Major
>
> Problem:
> When running kitchensink's tests from Maven, the script finishes with "BUILD SUCCESS" but no tests are run.
>
> Cause:
> {color:#172b4d}"MemberRegistrationIT" class is not used by the {color}"Maven Surefire Plugin" which is responsible for running tests.
> Quoting its documentation: [https://maven.apache.org/surefire/maven-surefire-plugin/examples/junit-platform.html]
> ??{color:#505f79}_The Maven Surefire Plugin will scan for test classes whose fully qualified names match the following patterns._{color}??
> * ??{color:#505f79}_{{**/Test*.java}}_{color}??
> * ??{color:#505f79}_{{**/*Test.java}}_{color}??
> * ??{color:#505f79}_{{**/*Tests.java}}_{color}??
> * ??{color:#505f79}{{_**/*TestCase.java_}}{color}??
> {color:#172b4d}This plugin runs only classes with very specific naming convention. The "MemberRegistrationIT" class doesn't fit into this convention.{color}
>
> {color:#172b4d}Solution:{color}
> {color:#172b4d}Rename the "MemberRegistrationIT" class to something like "MemberRegistrationIntegrationTest".{color}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list