简体   繁体   中英

Output test classes run JUnit

I have several different packages of JUnit tests and they're all broken down by @Category . Is there a way to print out a list of all test classes and/or methods that get run at the end of running all the tests? Thanks.

I don't believe that this is in JUnit's domain, but I had a similar need and used AOP. AOP was preferred since I could completely control what it displays. My knowledge of this is limited to Spring's AOP implementation.

A good profiler is an option as well.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM