Created
January 21, 2015 12:01
-
-
Save brookslyrette/c10e777ec385f252d6e1 to your computer and use it in GitHub Desktop.
Counting tests run in surefire.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grep -o 'Tests run: [0-9]\{1,\}' target/surefire-reports/*.txt | grep -o '[0-9]\{1,\}' | awk '{ SUM += $1} END { print SUM }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment