LogCaptor 2.8.0 Released

This page summarizes the projects mentioned and recommended in the original post on /r/java

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • LogCaptor

    🎯 LogCaptor captures log entries for unit and integration testing purposes

  • slf4j-test

    Implementation of SLF4J which allows easy access to logging events in tests

  • It can be useful for library authors who want to assert behavior for user diagnostics. Once it is user facing then it is relied upon and leads to issue discussions. Adding tests helps to avoid regressions due to refactoring, reference if revisited, etc. Sometimes this is benign like logging errors, but other times users will expect certain log message formats and complain if their regex scripts break (similar to depending on an unspecified toString() representation). It certainly isn't the common case to test for, but once user-facing then an implicit part of the api to be aware of. When I've had to do this, I used slf4j-test but log-captor looks very nice too.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • log-capture

    assertions for logging with logback

  • fwiw I built something similar, but differently: https://github.com/dm-drogeriemarkt/log-capture

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts