[arquillian-issues] [JBoss JIRA] (ARQ-1830) Only the last Test Class of some subset of Test classes is reported with TestNG runner
Juraj Húska (JIRA)
issues at jboss.org
Wed Aug 13 07:40:29 EDT 2014
[ https://issues.jboss.org/browse/ARQ-1830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12992569#comment-12992569 ]
Juraj Húska commented on ARQ-1830:
----------------------------------
The thing is that when executing subset of some TestNG suite, {{AfterSuite}} is fired for every Test Class - therefore report is exported twice, and only report for the last Test Class is kept.
For JUnit, the {{AfterSuite}} is fired only once - expected behavior.
Just a note that this behavior of TestNG suite is occurring only when executing some subset of tests, e.g. {{-Dtest=OnTestClass,OtherTestClass}}.
Is this an Arquillian bug I should report ? Any insight [~smikloso] [~kpiwko] please ?
> Only the last Test Class of some subset of Test classes is reported with TestNG runner
> --------------------------------------------------------------------------------------
>
> Key: ARQ-1830
> URL: https://issues.jboss.org/browse/ARQ-1830
> Project: Arquillian
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Extension - Recorder
> Affects Versions: recorder_1.0.0.Alpha4
> Reporter: Juraj Húska
>
> When you have TestNG test suite, after running some *subset* of all test classes (particular test classes or e.g. all classes in one package), then only the last test class is reported.
> It works when you run all tests, and also with JUnit nicely.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the arquillian-issues
mailing list