Github user Tibor17 commented on the pull request:

    https://github.com/apache/maven-surefire/pull/98#issuecomment-139858232
  
    @lamyaa 
    I think I found a solution which works on my side with non-parallel tests.
    Feel free to tell me what you think about my hypothesis.
    Can you please try to create a new pull request and call 
`testSetReportEntry.elapsedTimeAsString(); break;`  after the switch-case line 
`case success:`  in class `StatelessXmlReporter`?
    I am not sure what we should do with elapsed time in case error and case 
failure; maybe the same but this could be also answered by a test.
    Your IT is cool, but we can extend it with profiles: testng, junit4, 
junit47 and parallel or non-parallel. All of these produce different exec time.
    As a hint on how to extent the IT with profiles, please see this classes 
`AbstractTestMultipleMethodPatterns` or `AbstractFailFastIT` and the subclass. 
It helps on how to write parameterized test with profiles in IT. I guess you 
would need one IT for JUnit and another for TestNG.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to