# Java JUnit4

A minimal setup with Java, [JUnit4](https://junit.org/junit4/), [AssertJ](https://assertj.github.io/doc/) and [Mockito](https://site.mockito.org/) to get you started.

You can use [gradle](https://gradle.org/) or [maven](https://maven.apache.org/).

## Setup

    git clone https://github.com/swkBerlin/kata-bootstraps
    cd java/junit4

Open as preexisting project in your favorite IDE and choose between gradle or maven nature.

## (optional) IDE Setup

Run `./gradlew idea` to build [idea](https://www.jetbrains.com/idea) project.

## Running Tests

To execute the tests either run `gradlew test`, `mvn test` or run the tests from the IDE you are using.

## Test Libraries Available from the Get-Go
- [JUnit 4.13.2](https://github.com/junit-team/junit4/blob/HEAD/doc/ReleaseNotes4.13.2.md)
- [AssertJ 3.22.0](https://assertj.github.io/doc/#assertj-core-release-notes)
- [Mockito 4.3.1](https://github.com/mockito/mockito/releases)

This repo was tested with [idea](https://www.jetbrains.com/idea) [2020.3.1](https://confluence.jetbrains.com/display/IDEADEV/IntelliJ+IDEA+2020.3.1+%28203.6682.168+build%29+Release+Notes), if you encounter problems please open an issue or send a pull request.

Have fun!
