Skip to content

Instantly share code, notes, and snippets.

@gervaisb
Created May 3, 2018 19:54
Show Gist options
  • Save gervaisb/37f9d04db0450f3265b06eee1b95e1ce to your computer and use it in GitHub Desktop.
Save gervaisb/37f9d04db0450f3265b06eee1b95e1ce to your computer and use it in GitHub Desktop.
Multitail colorscheme for Junit text reports
#
# Junit text report
colorscheme:junit
cs_re:white,,bold:Tests run: ([0-9]*)
cs_re:red,,bold:Failures: ([1-9][0-9]*)
cs_re:white,,bold:Failures: 0
cs_re:red,,bold:Errors: ([1-9][0-9]*)
cs_re:white,,bold:Errors: 0
cs_re:yellow,,bold:Skipped: ([1-9][0-9]*)
cs_re:white,,bold:Skipped: 0
cs_re_s:red:<<< (FAILURE)!
cs_re_s:red,white,bold:(.*)\(.*\)\s+Time elapsed: .* <<< FAILURE!
cs_re_s:red:.*\((.*)\)\s+Time elapsed: .* <<< FAILURE!
cs_re_s:cyan:(Expecting|to contain):
cs_re_s:white:\s+(at)
#
scheme:junit:.*/surefire-reports/.*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment