Avogadro Unit-testing Utilities

A set of utilities to aid in difficult unit-testing.

License

License

BSD 3-Clause
GroupId

GroupId

com.mediamiser
ArtifactId

ArtifactId

avogadro
Last Version

Last Version

1.0.3
Release Date

Release Date

Type

Type

jar
Description

Description

Avogadro Unit-testing Utilities
A set of utilities to aid in difficult unit-testing.
Project Organization

Project Organization

MediaMiser Ltd

Download avogadro

How to add to project

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

Dependencies

compile (3)

Group / Artifact Type Version
org.mockito : mockito-core jar 1.10.8
org.slf4j : slf4j-api jar 1.7.7
log4j : log4j jar 1.2.17

test (3)

Group / Artifact Type Version
junit : junit jar 4.12
io.takari.junit : takari-cpsuite jar 1.2.7
org.slf4j : slf4j-log4j12 jar 1.7.7

Project Modules

There are no modules declared in this project.

About Avogadro

Build Status Coverage Status

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 and LogTester 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.

com.mediamiser

MediaMiser

Versions

Version
1.0.3
1.0.2