Testing Starter :: Log4j 2

A simple testing starter for Java projects

License

License

GroupId

GroupId

pl.wavesoftware.testing
ArtifactId

ArtifactId

log4j2
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

Testing Starter :: Log4j 2
A simple testing starter for Java projects
Project Organization

Project Organization

Wave Software

Download log4j2

How to add to project

<!-- https://jarcasting.com/artifacts/pl.wavesoftware.testing/log4j2/ -->
<dependency>
    <groupId>pl.wavesoftware.testing</groupId>
    <artifactId>log4j2</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/pl.wavesoftware.testing/log4j2/
implementation 'pl.wavesoftware.testing:log4j2:1.0.0'
// https://jarcasting.com/artifacts/pl.wavesoftware.testing/log4j2/
implementation ("pl.wavesoftware.testing:log4j2:1.0.0")
'pl.wavesoftware.testing:log4j2:jar:1.0.0'
<dependency org="pl.wavesoftware.testing" name="log4j2" rev="1.0.0">
  <artifact name="log4j2" type="jar" />
</dependency>
@Grapes(
@Grab(group='pl.wavesoftware.testing', module='log4j2', version='1.0.0')
)
libraryDependencies += "pl.wavesoftware.testing" % "log4j2" % "1.0.0"
[pl.wavesoftware.testing/log4j2 "1.0.0"]

Dependencies

compile (4)

Group / Artifact Type Version
pl.wavesoftware.testing : ansi jar 1.0.0
io.vavr : vavr jar 0.10.0
org.apache.logging.log4j : log4j-core jar
org.apache.logging.log4j : log4j-slf4j-impl jar

provided (1)

Group / Artifact Type Version
org.springframework.boot : spring-boot-autoconfigure Optional jar 2.1.5.RELEASE

test (5)

Group / Artifact Type Version
org.junit.jupiter : junit-jupiter-engine jar
org.junit.platform : junit-platform-launcher jar
org.junit.jupiter : junit-jupiter-params jar
org.assertj : assertj-core jar 3.11.1
org.mockito : mockito-junit-jupiter jar 2.23.4

Project Modules

There are no modules declared in this project.

Testing Starter for Java

Build Status Build status Quality Gate Technical Dept codecov Maven Central

A simple testing starter for Java projects

Installation

<dependency>
  <groupId>pl.wavesoftware.testing</groupId>
  <artifactId>junit5-starter</artifactId>
  <version>1.0.0</version>
  <packaging>pom</packaging>
  <scope>test</scope>
</dependency>

Usage

Simply adding a dependency should do the trick. There will be:

  • logging configured with log4j2, slf4j, jul and jcl
  • proper logging integration with Spring/Spring-Boot, if present, and EnableAutoConfiguration is used.
  • color logs
  • logging collector for log4j2 for testing purposes

Contributing

Contributions are welcome!

To contribute, follow the standard git flow of:

  1. Fork it
  2. Create your feature branch (git checkout -b feature/my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin feature/my-new-feature)
  5. Create new Pull Request

Even if you can't contribute code, if you have an idea for an improvement please open an issue.

Requirements

  • Java 8

Releases

  • 1.0.0 - codename: FrostyHeart
    • First publicly available release
pl.wavesoftware.testing

Wave Software

Versions

Version
1.0.0