[ 
https://issues.apache.org/jira/browse/SUREFIRE-2111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fabrício Yamamoto updated SUREFIRE-2111:
----------------------------------------
    Summary: Nested Tests reports are unordered  (was: Nested Tests tests are 
unordered)

> Nested Tests reports are unordered
> ----------------------------------
>
>                 Key: SUREFIRE-2111
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-2111
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Plugin
>            Reporter: Fabrício Yamamoto
>            Priority: Major
>
> When Nested class are run, the only time output is for the last nested class.
> See logs:
> {code:java}
> [INFO] -------------------------------------------------------
> [INFO]  T E S T S
> [INFO] -------------------------------------------------------
> [INFO] Running NestedExampleTest
> [INFO] Running NestedExampleTest$InnerTest
> [INFO] Running NestedExampleTest$InnerTest$InnerInnerTest
> [INFO] Running NestedExampleTest$InnerTest$InnerInnerTest$InnerInnerInnerTest
> [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.405 
> s - in NestedExampleTest$InnerTest$InnerInnerTest$InnerInnerInnerTest
> [INFO] NestedExampleTest.test  Time elapsed: 0.12 s
> [INFO] NestedExampleTest.test2  Time elapsed: 0.001 s
> [INFO] NestedExampleTest$InnerTest.test  Time elapsed: 0.202 s
> [INFO] NestedExampleTest$InnerTest$InnerInnerTest.test  Time elapsed: 0.305 s
> [INFO] NestedExampleTest$InnerTest$InnerInnerTest$InnerInnerInnerTest.test  
> Time elapsed: 0.402 s
> [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.717 
> s - in NestedExampleTest$InnerTest$InnerInnerTest
> [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.923 
> s - in NestedExampleTest$InnerTest
> [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.064 
> s - in NestedExampleTest
> {code}
> Time Elapsed shows only for last inner class. It should show for every class, 
> or show the sum of timings.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to