[infinispan-issues] [JBoss JIRA] (ISPN-4921) Tests in "smoke" TestNG group do not run in default profile
Pedro Ruivo (JIRA)
issues at jboss.org
Fri Oct 31 10:38:35 EDT 2014
[ https://issues.jboss.org/browse/ISPN-4921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13016428#comment-13016428 ]
Pedro Ruivo commented on ISPN-4921:
-----------------------------------
I'm not an expert in TestNG but I think in the way it is, you are creating a group named {{"functional,smoke"}}. I think you should declare the groups as {{\{"functional", "smoke"\}}}
> Tests in "smoke" TestNG group do not run in default profile
> -----------------------------------------------------------
>
> Key: ISPN-4921
> URL: https://issues.jboss.org/browse/ISPN-4921
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Affects Versions: 7.0.0.CR2
> Reporter: Martin Gencur
> Assignee: Martin Gencur
>
> There's probably a bug in TestNG. When multiple groups are defined on a test class, the test is only run if the requested (active) group is the last one defined withing @Test annotation.
> {code:java}
> @Test(groups = "functional,smoke", testName = "api.batch.BatchWithoutTMTest")
> public class BatchWithoutTMTest {....}
> {code}
> The above test class is only run if "smoke" TestNG group is active. OTOH, if "functional" group is active, this test is not run.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the infinispan-issues
mailing list