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


   I am not actively working on a test prioritization engine at the moment but 
have some work on it in the past, e.g., 
https://cs.gmu.edu/~winglam/publications/2020/LamETAL20ISSTA.pdf 
   
   I agree with your Twitter post that we should ideally be able to run them in 
any order (even orders that interleave) but as you pointed out, such a feature 
should probably first come from JUnit before it gets to Surefire.
   
   I also agree that it is still possible to do TCP with class ordering, but 
why stop at class ordering? Why not have your TCP be done at class + 
non-interleaving method ordering? As we've discussed, global test ordering or 
interleaving method ordering is going to require substantial efforts to 
accomplish, but class + non-interleaving method ordering is already supported 
in this PR and just requires one to improve this PR according to the 
suggestions Tibor provided.
   
   Thanks for the heads up about Cucumber. I was not aware that the framework 
supported global test ordering. Do they run @BeforeClass (or their version of 
it) once before the first test even if methods from different classes are 
interleaved?


-- 
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