aslakhellesoy commented on pull request #348:
URL: https://github.com/apache/maven-surefire/pull/348#issuecomment-1077859361


   @winglam are you by any chance working on a Test Case Prioritization engine? 
I am :-) I went on a little [twitter 
rant](https://twitter.com/aslak_hellesoy/status/1506225693792903171) about it 
yesterday.
   
   *If* JUnit implemented global test method ordering, I think `@BeforeClass` 
and `@AfterClass` should still only run once. before the first test and after 
the last one, even if interleaved with other classes. Maybe a new JUnit 
`TestEngine` could implement this.
   
   It's still possible to do TCP with class ordering. The APFD would be lower 
than with a method ordering, but still better than no ordering!
   
   FWIW, Cucumber-Ruby and Cucumber-JS *do* support global scenario ordering - 
they can run scenarios in any order even if they are in different files.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to