{"id":20137964,"url":"https://github.com/innoq/junit5-logging-extension","last_synced_at":"2025-10-19T05:59:36.910Z","repository":{"id":60193930,"uuid":"535025255","full_name":"innoq/junit5-logging-extension","owner":"innoq","description":"JUnit 5 extension for testing log statements","archived":false,"fork":false,"pushed_at":"2025-03-31T19:41:06.000Z","size":206,"stargazers_count":5,"open_issues_count":1,"forks_count":2,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-03-31T20:34:37.928Z","etag":null,"topics":["java","junit","junit-extension","junit-jupiter","junit-jupiter-extension","junit5","logback","logging","slf4j"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/innoq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-10T14:39:03.000Z","updated_at":"2025-03-31T19:41:08.000Z","dependencies_parsed_at":"2023-02-12T23:31:05.144Z","dependency_job_id":"ac062767-5fb1-4d90-88f3-9f8f84b8d7f5","html_url":"https://github.com/innoq/junit5-logging-extension","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/innoq%2Fjunit5-logging-extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/innoq%2Fjunit5-logging-extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/innoq%2Fjunit5-logging-extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/innoq%2Fjunit5-logging-extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/innoq","download_url":"https://codeload.github.com/innoq/junit5-logging-extension/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248083148,"owners_count":21045050,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","junit","junit-extension","junit-jupiter","junit-jupiter-extension","junit5","logback","logging","slf4j"],"created_at":"2024-11-13T21:30:59.233Z","updated_at":"2025-10-19T05:59:36.856Z","avatar_url":"https://github.com/innoq.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JUnit 5 logging extension\n*- Sometimes logging is important*\n\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.innoq/junit5-logging-extension/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.innoq/junit5-logging-extension)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)\n[![Open Issues](https://img.shields.io/github/issues/innoq/junit5-logging-extension.svg)](https://github.com/innoq/junit5-logging-extension/issues)\n[![Build Status](https://github.com/innoq/junit5-logging-extension/actions/workflows/main.yml/badge.svg)](https://github.com/innoq/junit5-logging-extension/actions/workflows/main.yml)\n\n[JUnit 5](https://junit.org/junit5/) extension for testing log statements.\n\n\n## Quick Start\n\nAdd junit5-logging-extension as dependency within test scope to your project.\n\n### Apache Maven\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.innoq\u003c/groupId\u003e\n  \u003cartifactId\u003ejunit5-logging-extension\u003c/artifactId\u003e\n  \u003cversion\u003e0.2.0\u003c/version\u003e\n  \u003cscope\u003etest\u003c/scope\u003e\n\u003c/dependency\u003e\n```\n\n### Gradle Groovy DSL\n\n```\ntestImplementation 'com.innoq:junit5-logging-extension:0.2.0'\n```\n\n### Gradle Kotlin DSL\n\n```\ntestImplementation(\"com.innoq:junit5-logging-extension:0.2.0\")\n```\n\nUse the extension within your JUnit 5 tests:\n\n### Usage\n\n```java\n@Logging\nclass SomeTest {\n\n    Logger LOG = LoggerFactory.getLogger(SomeTest.class);\n\n    @Test\n    void someTest(LoggingEvents events) {\n        LOG.info(\"Some log message\");\n\n        assertThat(events.isEmpty()).isFalse();\n    }\n}\n```\n\n\n## Code of Conduct\n\n[Contributor Code of Conduct](./CODE_OF_CONDUCT.md). By participating in this\nproject you agree to abide by its terms.\n\n\n## License\n\njunit5-logging-extension is Open Source software released under the\n[Apache 2.0 license](http://www.apache.org/licenses/LICENSE-2.0.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finnoq%2Fjunit5-logging-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finnoq%2Fjunit5-logging-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finnoq%2Fjunit5-logging-extension/lists"}