A Gradle plugin for printing beautiful logs on the console while running tests. The plugin registers an extension called testlogger (all lowercase and one word) at project level as well as for each task of type Test. By default, the showExceptions flag is turned on. This shows why the tests failed including the location of the failure. Of course, you can switch off this slightly more verbose logging by setting showExceptions to false. Just like Gradle itself, by default only the last frame that matches the test class's name in a stack trace is printed. For vast majority of cases, that is sufficient. Sometimes, it is useful to remove this filtering in order to see the entirety of the stack trace.

Features

  • Use the plugins DSL
  • Use legacy plugin application
  • Compatibility matrix
  • Task level configuration
  • Override settings at runtime
  • Switch themes

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow Gradle Test Logger Plugin

Gradle Test Logger Plugin Web Site

Other Useful Business Software
Go from Code to Production URL in Seconds Icon
Go from Code to Production URL in Seconds

Cloud Run deploys apps in any language instantly. Scales to zero. Pay only when code runs.

Skip the Kubernetes configs. Cloud Run handles HTTPS, scaling, and infrastructure automatically. Two million requests free per month.
Try it free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Gradle Test Logger Plugin!

Additional Project Details

Operating Systems

Windows

Programming Language

Groovy

Related Categories

Groovy Logging Software, Groovy Penetration Testing Tool

Registered

2023-02-24