instancio
A library that creates fully populated objects for your unit tests. (by instancio)
JGiven
Behavior-Driven Development in plain Java (by TNG)
instancio | JGiven | |
---|---|---|
7 | 1 | |
748 | 431 | |
1.3% | 1.6% | |
9.7 | 9.6 | |
6 days ago | 7 days ago | |
Java | Java | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
instancio
Posts with mentions or reviews of instancio.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-27.
-
Any library you would like to recommend to others as it helps you a lot? For me, mapstruct is one of them. Hopefully I would hear some other nice libraries I never try.
Instancio for generating test data AssertJ Awaitility Quarkus FluentJdbc: a thin wrapper around jdbc, you can use it as an alternative for JPA and I use it in Quarkus
-
Instancio 2.2.0 released
I've been experimenting a little and will be adding support for method references in the next release. Here's issue link if you want to follow.
-
Java: Automating data setup in unit tests
Properly handling seeds and having reproducible objects was one of the main goals, so it should work as you'd expect. I'd suggest giving it a try and if you run into any issues, just post it on Github discussions.
- Data Generator For Unit Tests
- Instancio: Java library for auto-populating objects in unit tests
JGiven
Posts with mentions or reviews of JGiven.
We have used some of these posts to build our list of alternatives
and similar projects.
-
Is this asciidoc?
check out how JGiven is organizing their documentation you can clone their repo and do asciidoctor -o index.html index.adoc inside the docs/ directory
What are some alternatives?
When comparing instancio and JGiven you can also consider the following projects:
Java Faker - Brings the popular ruby faker gem to Java
Cucumber - Cucumber for the JVM
fixture-monkey - Let Fixture Monkey generate test instances including edge cases automatically
JBehave
datafaker - Generating fake data for the JVM (Java, Kotlin, Groovy) has never been easier!
Mockito - Most popular Mocking framework for unit tests written in Java
REST Assured - Java DSL for easy testing of REST services
Spock - The Enterprise-ready testing and specification framework.
atlantafx - Modern JavaFX CSS theme collection with additional controls.
Awaitility - Awaitility is a small Java DSL for synchronizing asynchronous operations