1

At the moment I'm working on a legacy Maven Selenium test project. It will take around 10 hours to run the entire test suite. After 10 hours from the IntelliJ I can get the total number of test cases which get executed, apart from that is there any way to get the total number of test cases in my project?

1

You can run Maven in dry run mode, so it will perform the maven test lifecycle, but without executing the tests:

mvn release:prepare -DdryRun=true

Then you can pipe the output into grep to look for the pattern that contains the info you are looking for.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.