Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies #35

Merged
merged 11 commits into from
Feb 11, 2025
48 changes: 24 additions & 24 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,80 +9,80 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- BOM module
- Use BOM in integration tests
* BOM module
* Use BOM in integration tests

## 1.1.1 - 2025-01-02 - Modules

### Added

- Added modules
* Added modules

### Changed

- Update Mockito to 5.15.2
- Update Javadoc
- Update jUnit to 5.11.4
* Update Mockito to 5.15.2
* Update Javadoc
* Update jUnit to 5.11.4

## 1.1.0 - 2024-11-28

### Added

- Add tinylog modules: provider and writer
* Add tinylog modules: provider and writer

### Changed

- Fix dependencies' scopes
* Fix dependencies' scopes

## 1.0.0 - 2024-11-13 - Mock Loggers

### Added

- Add SLF4J and Apache Commons Logging modules
* Add SLF4J and Apache Commons Logging modules

### Changed

- Rename to **Mock Loggers**
* Rename to **Mock Loggers**

## 1.1.3 - 2024-11-09

### Added

- Improved Javadoc
- Use BOM for jUnit and Mockito
- Add activity badges, update other
- Custom annotation @MockLoggers
* Improved Javadoc
* Use BOM for jUnit and Mockito
* Add activity badges, update other
* Custom annotation @MockLoggers

### Changed

- Update Maven plugins: invoker, javadoc, surefire and failsafe
* Update Maven plugins: invoker, javadoc, surefire and failsafe

## 1.1.2 - 2024-10-21

### Changed

- Update jUnit Jupiter and Platform
- Update Mockito to 5.14
- Update a bunch of Maven plugins: javadoc, surefire, failsafe, invoker,
* Update jUnit Jupiter and Platform
* Update Mockito to 5.14
* Update a bunch of Maven plugins: javadoc, surefire, failsafe, invoker,
central-publishing, jetbrains annotations

## 1.1.1 - 2024-08-20

### Changed

- Update jUnit to 5.11
- Improve extension's logging
- Clean the Maven publishing plugin's configuration.
* Update jUnit to 5.11
* Improve extension's logging
* Clean the Maven publishing plugin's configuration.

## 1.1.0 - 2024-07-19

### Added

- Implement jUnit extension.
* Implement jUnit extension.

## 1.0.0 - 2024-07-15 - Mock of JDK Platform Logging

### Added

- Implement a logger finder.
- Add Javadocs.
* Implement a logger finder.
* Add Javadocs.
2 changes: 1 addition & 1 deletion commons-logging/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
</profile>
</profiles>
<properties>
<commons-logging.version>1.3.4</commons-logging.version>
<commons-logging.version>1.3.5</commons-logging.version>
</properties>
<version>1.2.0-SNAPSHOT</version>
</project>
12 changes: 11 additions & 1 deletion commons-logging/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ backed by [Mockito][].
[![Maven Central][maven-central]][maven-central-link]
[![Javadoc][javadoc]][javadoc-link]

## Table of Contents

<!--ts-->
* [How to use](#how-to-use)

<!-- Created by https://github.com/ekalinin/github-markdown-toc -->
<!-- Added by: r2, at: Sun Feb 9 09:27:55 PM EET 2025 -->

<!--te-->

## How to use

Just put a test dependency to your POM:
Expand Down Expand Up @@ -154,7 +164,7 @@ See more details at [HelloServiceAnnotationTest.java](src/it/hello-commons-loggi

[jdk-download]: https://www.oracle.com/java/technologies/downloads/#java11

[commons-logging-version]: https://img.shields.io/static/v1?label=commons-logging&message=1.3.4&color=blue&logoColor=E23D28
[commons-logging-version]: https://img.shields.io/static/v1?label=commons-logging&message=1.3.5&color=blue&logoColor=E23D28

[mockito-version]: https://img.shields.io/static/v1?label=Mockito&message=5.15.2&color=blue&logoColor=E23D28

Expand Down
2 changes: 1 addition & 1 deletion commons-logging/src/it/hello-commons-logging-world/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<dependency>
<artifactId>commons-logging</artifactId>
<groupId>commons-logging</groupId>
<version>1.3.4</version>
<version>1.3.5</version>
</dependency>
<dependency>
<artifactId>hamcrest</artifactId>
Expand Down
10 changes: 10 additions & 0 deletions jdk-platform-logging/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ backed by [Mockito][].
[![Maven Central][maven-central]][maven-central-link]
[![Javadoc][javadoc]][javadoc-link]

## Table of Contents

<!--ts-->
* [How to use](#how-to-use)

<!-- Created by https://github.com/ekalinin/github-markdown-toc -->
<!-- Added by: r2, at: Sun Feb 9 09:27:55 PM EET 2025 -->

<!--te-->

## How to use

Just put a test dependency to your POM:
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@
<artifactId>annotations</artifactId>
<groupId>org.jetbrains</groupId>
<scope>provided</scope>
<version>26.0.1</version>
<version>26.0.2</version>
</dependency>
<dependency>
<artifactId>hamcrest</artifactId>
Expand Down
31 changes: 23 additions & 8 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,21 @@ Different logging services can be tested using mock loggers backed by [Mockito][
![GitHub commit activity][github-commit-activity]
[![Today's hits][today-hits]][today-hits-link]

## Table of Contents

<!--ts-->
* [How to use](#how-to-use)
* [Other logging libraries and frameworks](#other-logging-libraries-and-frameworks)
* [Credits](#credits)
* [Contributing](#contributing)
* [History](#history)
* [License](#license)

<!-- Created by https://github.com/ekalinin/github-markdown-toc -->
<!-- Added by: r2, at: Sun Feb 9 09:27:54 PM EET 2025 -->

<!--te-->

## How to use

The simplest usage example looks like this:
Expand All @@ -35,22 +50,22 @@ Now this library implements services for [JDK Platform Logging][jdk-logging],

See more examples in the relevant modules of this project:

- for Apache Commons Logging in [mock-loggers-commons-logging](commons-logging)
- for JDK Platform Logging in [mock-loggers-jdk-platform-logging](jdk-platform-logging)
- for SLF4J in [mock-loggers-slf4j](slf4j)
- for tinylog in [mock-loggers-tinylog-writer](tinylog-writer) and [mock-loggers-tinylog-provider](tinylog-provider)
* for Apache Commons Logging in [mock-loggers-commons-logging](commons-logging)
* for JDK Platform Logging in [mock-loggers-jdk-platform-logging](jdk-platform-logging)
* for SLF4J in [mock-loggers-slf4j](slf4j)
* for tinylog in [mock-loggers-tinylog-writer](tinylog-writer) and [mock-loggers-tinylog-provider](tinylog-provider)

## Other logging libraries and frameworks

- [Apache Log4j: Unit Testing in Maven][log4j-unit-testing-in-maven]
- [Unit Test logback Using JUnit][logback-unit-test-using-junit], it's old but gold
* [Apache Log4j: Unit Testing in Maven][log4j-unit-testing-in-maven]
* [Unit Test logback Using JUnit][logback-unit-test-using-junit], it's old but gold

## Credits

There are two projects which inspired me to make this library:

- [s4u/slf4j-mock][slf4j-mock]
- [ocarlsen/mock-slf4j-impl][mock-slf4j-impl]
* [s4u/slf4j-mock][slf4j-mock]
* [ocarlsen/mock-slf4j-impl][mock-slf4j-impl]

## Contributing

Expand Down
10 changes: 10 additions & 0 deletions slf4j/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@
[![Maven Central][maven-central]][maven-central-link]
[![Javadoc][javadoc]][javadoc-link]

## Table of Contents

<!--ts-->
* [How to use](#how-to-use)

<!-- Created by https://github.com/ekalinin/github-markdown-toc -->
<!-- Added by: r2, at: Sun Feb 9 09:27:55 PM EET 2025 -->

<!--te-->

## How to use

Just put a test dependency to your POM:
Expand Down
13 changes: 13 additions & 0 deletions tinylog-provider/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,19 @@
[![Maven Central][maven-central]][maven-central-link]
[![Javadoc][javadoc]][javadoc-link]

## Table of Contents

<!--ts-->
* [Foreword](#foreword)
* [How to use](#how-to-use)
* [LoggingProvider as a parameter](#loggingprovider-as-a-parameter)
* [Configuration](#configuration)

<!-- Created by https://github.com/ekalinin/github-markdown-toc -->
<!-- Added by: r2, at: Sun Feb 9 09:27:56 PM EET 2025 -->

<!--te-->

## Foreword

Unlike the traditional approach where each class or even instance has
Expand Down
13 changes: 13 additions & 0 deletions tinylog-writer/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,19 @@
[![Maven Central][maven-central]][maven-central-link]
[![Javadoc][javadoc]][javadoc-link]

## Table of Contents

<!--ts-->
* [Foreword](#foreword)
* [How to use](#how-to-use)
* [Writer as a parameter](#writer-as-a-parameter)
* [Configuration](#configuration)

<!-- Created by https://github.com/ekalinin/github-markdown-toc -->
<!-- Added by: r2, at: Sun Feb 9 09:27:56 PM EET 2025 -->

<!--te-->

## Foreword

Unlike the traditional approach where each class or even instance has
Expand Down