Built a library to help generate test pojos with relevant but random data. I’d love some feedback.

This page summarizes the projects mentioned and recommended in the original post on /r/java

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • TestPojo

    Generates test data for simple pojos

  • meanbean

    Automated JavaBean Testing

  • How does this compare to MeanBean?

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • jqwik

    Property-Based Testing on the JUnit Platform

  • See https://jqwik.net

  • Java Faker

    Brings the popular ruby faker gem to Java

  • filldb

    Command line tool to fill an arbitrary mariadb schema with test data

  • I wrote a tool some time ago that tries to automatically fill a database with test data. The tool spends a lot of time figuring out the database schema and such so that part isn't useful to you. But there is also code in there dealing with generating random test data. So if you want the 'name' field in the Person class to hold an actual name and not a random UUID it could be useful. Take a look. The DataGenerators class is probably the most interesting to you.

  • Generex

    A Java library for generating String from a regular expression.

  • Also there is a project by someone called Generex. It generates strings from regular expressions. So if you want your data to look a certain way it might be helpful.

  • datafaker

    Generating fake data for the JVM (Java, Kotlin, Groovy) has never been easier!

  • Looks like that link doesn't actually go where it says, try this https://github.com/datafaker-net/datafaker

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts