Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/astrapi69/test-object
Project that holds test objects for unit tests
https://github.com/astrapi69/test-object
java unit-testing
Last synced: 3 months ago
JSON representation
Project that holds test objects for unit tests
- Host: GitHub
- URL: https://github.com/astrapi69/test-object
- Owner: astrapi69
- License: mit
- Created: 2015-11-23T14:41:32.000Z (about 9 years ago)
- Default Branch: develop
- Last Pushed: 2024-09-30T15:47:03.000Z (4 months ago)
- Last Synced: 2024-10-12T11:14:56.680Z (4 months ago)
- Topics: java, unit-testing
- Language: Java
- Size: 792 KB
- Stars: 4
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Overview
[![Java CI with Gradle](https://github.com/astrapi69/test-object/actions/workflows/gradle.yml/badge.svg)](https://github.com/astrapi69/test-object/actions/workflows/gradle.yml)
[![Open Issues](https://img.shields.io/github/issues/astrapi69/test-object.svg?style=flat)](https://github.com/astrapi69/test-object/issues)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.github.astrapi69/test-object/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.github.astrapi69/test-object)
[![Javadocs](http://www.javadoc.io/badge/io.github.astrapi69/test-object.svg)](http://www.javadoc.io/doc/io.github.astrapi69/test-object)
[![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](http://opensource.org/licenses/MIT)
[![Donate](https://img.shields.io/badge/donate-❤-ff2244.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=GVBTWLRAZ7HB8)
[![Hits Of Code](https://hitsofcode.com/github/astrapi69/test-object?branch=develop)](https://hitsofcode.com/github/astrapi69/test-object/view?branch=develop)Project that holds test objects for unit tests.
# Support this project
> Please support this project by simply putting a Github
> Star ⭐
>
> Share this library with friends on Twitter and everywhere else you can
>
> If you love this
>
project [![donation](https://img.shields.io/badge/donate-❤-ff2244.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=GVBTWLRAZ7HB8)
>
> or for more donation options go the [donations section](#Donations)## Note
No animals were harmed in the making of this library.
## Import dependencies to your project
gradle (click to expand)
## gradle dependency
Replace the variable ${latestVersion} with the current latest
version: [![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.github.astrapi69/test-object/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.github.astrapi69/test-object)You can first define the version in the ext section and add than the following gradle dependency to
your project `build.gradle` if you want to import the core functionality of test-object:define version in file gradle.properties
```
testObjectVersion=${latestVersion}
```or in build.gradle ext area
```
testObjectVersion = "${latestVersion}"
```then add the dependency to the dependencies area
```
implementation("io.github.astrapi69:test-object:$testObjectVersion")
```# with new libs.versions.toml file
If you use the new libs.versions.toml file for new automatic catalog versions update
```
[versions]
test-object-version= "${latestVersion}"[libraries]
test-object = { module = "io.github.astrapi69:test-object", version.ref = "test-object-version" }
```then add the dependency to the dependencies area
```
testImplementation libs.test.object
```Maven (click to expand)
## Maven dependency
Maven dependency is now on sonatype.
Check
out [sonatype repository](https://oss.sonatype.org/index.html#nexus-search;gav~io.github.astrapi69~test-object~~~)
for latest snapshots and releases.Add the following maven dependency to your project `pom.xml` if you want to import the core
functionality of test-object:Then you can add the dependency to your dependencies:
...```xml
${latestVersion}
```...
...
...```xml
io.github.astrapi69
test-object
${test-object.version}
test
```...
Snapshots (click to expand)
## 📸 Snapshots
[![Snapshot](https://img.shields.io/badge/dynamic/xml?url=https://oss.sonatype.org/service/local/repositories/snapshots/content/io/github/astrapi69/test-object/maven-metadata.xml&label=snapshot&color=red&query=.//versioning/latest)](https://oss.sonatype.org/content/repositories/snapshots/io/github/astrapi69/test-object/)
This section describes how to import snapshot versions into your project.
Add the following code snippet to your gradle file in the repositories section:```
repositories {
//...
``````groovy
maven {
name "Sonatype Nexus Snapshots"
url "https://oss.sonatype.org/content/repositories/snapshots"
mavenContent {
snapshotsOnly()
}
}
``````
}
```# Donations
This project is kept as an open source product and relies on contributions to remain being developed. If you like this
library, please consider a donationover paypal:
or over bitcoin(BTC) with this address:bc1ql2y99q7e8psndhcc3gferk03esw3qqf677rhjy
or over FIO with this address:
FIO7tFMUVAA9cHiPPqKMfMXiSxHrbpiFyRYqTketNuM67aULuwjop
or over Ethereum(ETH) with:
0xc057D159D3C8f3311E73568b334FF6fE82EB2b7D
or over Ethereum Classic(ETC) with:
0xF708cA86D86C246B69c3F4BAe431eBbe0c2bfddD
or over Dogecoin(DOGE) with:
D5yi4Um8cpakd6yPRm2hGWuQ5nrVzhSSW1
or over Monero(XMR) with:
49bqeRQ7Bf49oJFVC72pqpe5hFbb62pfXDYPdLsadGGF81KZW2ZfrPZ8PbAVu5X2v1TYAspeczMya3cYQysNS4usRRPQHVw
## License
The source code comes under the liberal MIT License, making test-object great for all types of applications.
## Semantic Versioning
The versions of jcommons-lang are maintained with the Semantic Versioning guidelines.
Release version numbers will be incremented in the following format:
`..`
For detailed information on versioning you can visit
the [wiki page](https://github.com/lightblueseas/mvn-parent-projects/wiki/Semantic-Versioning).## Want to Help and improve it? ###
The source code for test-object are on GitHub. Please feel free to fork and send pull requests!
Create your own fork of [astrapi69/test-object/fork](https://github.com/astrapi69/test-object/fork)
To share your changes, [submit a pull request](https://github.com/astrapi69/test-object/pull/new/develop).
Don't forget to add new units tests on your changes.
## Contacting the Developers
Do not hesitate to contact the test-object developers with your questions, concerns, comments, bug reports, or feature
requests.- Feature requests, questions and bug reports can be reported at
the [issues page](https://github.com/astrapi69/test-object/issues).# Similar projects
- [meanBean](http://meanbean.sourceforge.net/) Automated JavaBean Testing.
- [awaitility](https://github.com/awaitility/awaitility) Awaitility is a small Java DSL for synchronizing asynchronous
operations
- [podam](https://github.com/devopsfolks/podam) PODAM is a lightweight tool to auto-fill Java POJOs with data.
- [random-beans](https://github.com/benas/random-beans) Because life is too short to generate random Java beans by hand.## Credits
| **Nexus Sonatype repositories** |
|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
| [![sonatype repository](https://img.shields.io/nexus/r/https/oss.sonatype.org/io.github.astrapi69/test-object.svg?style=for-the-badge)](https://oss.sonatype.org/index.html#nexus-search;gav~io.github.astrapi69~test-object~~~) |
| Special thanks to [sonatype repository](https://www.sonatype.com) for providing a free maven repository service for open source projects |
| || **coveralls.io** |
|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
| [![Coverage Status](https://coveralls.io/repos/github/astrapi69/test-object/badge.svg?branch=master)](https://coveralls.io/github/astrapi69/test-object?branch=master) |
| Special thanks to [coveralls.io](https://coveralls.io) for providing a free code coverage for open source projects |
| || **javadoc.io** |
|:-----------------------------------------------------------------------------------------------------------------------------------------:|
| [![Javadocs](http://www.javadoc.io/badge/io.github.astrapi69/test-object.svg)](http://www.javadoc.io/doc/io.github.astrapi69/test-object) |
| Special thanks to [javadoc.io](http://www.javadoc.io) for providing a free javadoc documentation for open source projects |
| |