Skip to content

ericlemerdy/slowest-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slowest-test

A maven plugin to get the test methods ordered by execution time.

usage:

  • in the plugin:

mvn clean install

  • in your project pom:
  <build>...
     <plugins>...
       <plugin>
         <groupId>fr.free.lemerdy.eric</groupId>
         <artifactId>slowest-test-maven-plugin</artifactId>
       </plugin>
  • from your project:

mvn clean test slowest-test:print

expected output:

[INFO] ------------------------------------------------------------------------
[INFO] Building <my-project> Maven pom 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- slowest-test-maven-plugin:1.0-SNAPSHOT:print (default-cli) @ <my-project> ---
[INFO]      0,002ms fr.free.lemerdy.eric.AppTest.testApp
[INFO]      0,002ms fr.free.lemerdy.eric.AppTest2.testApp
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
...```

About

A maven plugin to get the test methods ordered by execution time.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages