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
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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