About Avogadro
Avogadro is set of utilities to make unit testing easier. The goals of this project are to make:
- Nearly 100% Java code coverage more easily attainable (using
Manipulator
to aid mocking/trigger difficult to reach code andLogTester
to test logging); and - Spotting deficient tests easier (using
Log4j1ErrorAppender
to fail tests that cause errors to be logged).
See the library's API documentation for examples on how to use each utility.
Usage
You can include this project in your own by adding the following dependency to your project's pom.xml
file under the test scope:
<dependency>
<groupId>com.mediamiser</groupId>
<artifactId>avogadro</artifactId>
<version>1.0.3</version>
<scope>test</scope>
</dependency>
Development
To build this project, your development environment must have installed:
To test locally, check out the repository and use Maven to compile and run the tests:
user@localhost$ git clone https://github.com/MediaMiser/avogadro.git
user@localhost$ cd avogadro
user@localhost$ mvn clean test
Licensing
Avogadro is licensed under the BSD 3-Clause license.
Authors and Contributors
This project was authored by @cfournie and @samer-albuhaisi at MediaMiser.