Skip to content

robertsmieja/java-test-utils

Repository files navigation

Java Test Utils

Download Build Status codecov

This project is intended to serve as a set of common utilities used in testing, between my personal project.

It currently consists of a set of utilities to simplify unit testing of all getters/setters, equals(), hashCode(), and toString() methods.

Usage

Requirements

  • Java 1.8 or newer
  • Apache Commons java.lang3 at runtime
  • Apache Commons Collections 4 runtime
  • JUnit 5 API at compile time

The library is currently available on JCenter at the following repository.

There is no current stable release yet, but I've published a "milestone" release that should be relatively stable and usable. See this unit test as an example of how to use the current implementation.

The library is compatible with JUnit 4 projects. See this example JUnit 4 Java project.

Development Requirements:

  • Java 1.8 or newer
  • JUnit 5.0.0-M4 or newer
  • IDE support for JUnit 5 (Currently only IntelliJ IDEA)

Issues

If there are any bugs, or ideas on how to improve these library, please open a new GitHub issue.

License

The code is licensed under Apache 2.0. If you find it useful, I'd love to know.

About

Java utility classes useful for unit testing

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •