An open API service indexing awesome lists of open source software.

https://github.com/cuioss/cui-test-value-objects

Provides classes and structures for testing java beans, builder, constructor, factory-methods, comparator and so on.
https://github.com/cuioss/cui-test-value-objects

java junit junit-jupiter

Last synced: 3 months ago
JSON representation

Provides classes and structures for testing java beans, builder, constructor, factory-methods, comparator and so on.

Awesome Lists containing this project

README

          

= cui-test-value-objects

== Status

image:https://github.com/cuioss/cui-test-value-objects/actions/workflows/maven.yml/badge.svg[Java CI with Maven,link=https://github.com/cuioss/cui-test-value-objects/actions/workflows/maven.yml]
image:http://img.shields.io/:license-apache-blue.svg[License,link=http://www.apache.org/licenses/LICENSE-2.0.html]
image:https://img.shields.io/maven-central/v/de.cuioss.test/cui-test-value-objects.svg?label=Maven%20Central["Maven Central", link="https://central.sonatype.com/artifact/de.cuioss.test/cui-test-value-objects"]

https://sonarcloud.io/summary/new_code?id=cuioss_cui-test-value-objects[image:https://sonarcloud.io/api/project_badges/measure?project=cuioss_cui-test-value-objects&metric=alert_status[Quality
Gate Status]]
image:https://sonarcloud.io/api/project_badges/measure?project=cuioss_cui-test-value-objects&metric=ncloc[Lines of Code,link=https://sonarcloud.io/summary/new_code?id=cuioss_cui-test-value-objects]
image:https://sonarcloud.io/api/project_badges/measure?project=cuioss_cui-test-value-objects&metric=coverage[Coverage,link=https://sonarcloud.io/summary/new_code?id=cuioss_cui-test-value-objects]

https://cuioss.github.io/cui-test-value-objects/about.html[Generated Documentation on github-pages]

== What is it?

A library to support creating unit-tests and much more. Compared to other, more behavior-oriented frameworks like
link:https://easymock.org/[EasyMock] or link:https://site.mockito.org/[Mockito], it focuses, as its name
implies, on testing and generating Value-Objects of all sorts. Therefore it is no replacement of said frameworks but
a supplement. Testing values-objects is about checking properties, constructors, factories, builder,... and the
dependent canonical object-methods. In addition, the library provides a feature rich generator system.

== Maven Coordinates

[source,xml]
----

de.cuioss.test
cui-test-value-objects

----

== Understanding Value-Object testing

There are a number of features that can be used. Therefore, there are different documentation parts for the specific
features:

* link:src/site/asciidoc/testing-value-objects.adoc[Value-Object-Testing]
* link:src/site/asciidoc/testing-mapper.adoc[Testing Mapper Classes]
* link:src/site/asciidoc/managing-metadata.adoc[Managing Metadata]
* link:src/site/asciidoc/generator-system.adoc[Generator System]
* link:src/site/asciidoc/reflection-system.adoc[Reflection System]
* link:src/site/asciidoc/simple-canonical-object-methods.adoc[Simplified Testing of Canonical Object Methods]