Java Faker VS datafaker

Compare Java Faker vs datafaker and see what are their differences.

Java Faker

Brings the popular ruby faker gem to Java (by DiUS)

datafaker

Brings the popular ruby faker gem to Java and Kotlin (by datafaker-net)
Our great sponsors
  • JetBrains - Developer Ecosystem Survey 2022
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • Scout APM - Less time debugging, more time building
Java Faker datafaker
9 7
3,574 202
3.4% 25.2%
3.6 9.8
28 days ago 8 days ago
Java Java
GNU General Public License v3.0 or later GNU General Public License v3.0 or later
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.

Java Faker

Posts with mentions or reviews of Java Faker. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-23.

datafaker

Posts with mentions or reviews of datafaker. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-12.
  • Seasoned java developer here. Planning to learn Kotlin. What are some good open source Kotlin projects I can contribute to?
    3 projects | reddit.com/r/Kotlin | 12 Jun 2022
    For example, I run a project (https://www.datafaker.net), which is currently a Java application, but we'd like to extend it with a Kotlin module.
  • Open source Java projects
    5 projects | reddit.com/r/java | 24 Feb 2022
    I'm running a project myself, https://www.datafaker.net, a project to generate real looking test data.
  • The Faker.js Saga Continues
    2 projects | reddit.com/r/javascript | 8 Jan 2022
    It's a shame though that it's so hard to contribute to certain libraries. I forked Javafaker to https://www.datafaker.net with the idea of accepting most if not all PRs within a day. It bothers me when people put time and effort into fixing things and they don't get accepted.
  • Faker.js gets erased
    8 projects | reddit.com/r/javascript | 4 Jan 2022
    That's such an unfortunate coincidence. I just created www.datafaker.net in the last few days, which is not a competing solution, but a Java (not Javascript) version just like this, and I was using Faker.js as a partial inspiration, and just hours after adding a reference to Faker.js on my github (https://github.com/datafaker-net/datafaker), this happens....
  • Datafaker, an alternative to using Production Data
    5 projects | reddit.com/r/java | 4 Jan 2022
    Ah, I was under the impression I mentioned it in the README.md here: https://github.com/datafaker-net/datafaker, but I somehow missed that one. Thanks for mentioning it, I'll certainly have a look at their dataset!
    5 projects | reddit.com/r/java | 4 Jan 2022
    This has another bottleneck, each time you request something, it ends up with a IO call to open a file, as all fake data is stored in a file: https://github.com/datafaker-net/datafaker/blob/master/src/main/resources/en/dragon_ball.yml I recently filed a bug to javafaker that in some cases file descriptor was never closed, resulting in even worse performance and memory leaks, killing our service after millions of method calls.

What are some alternatives?

When comparing Java Faker and datafaker you can also consider the following projects:

Deep Dive - Fluent assertions library for Java

Flowable (V6) - A compact and highly efficient workflow and Business Process Management (BPM) platform for developers, system admins and business users.

faker - A library for generating fake data such as names, addresses, and phone numbers. [Moved to: https://github.com/faker-ruby/faker]

restassured-complete-basic-example - A complete API Test Architecture example using Java and RestAssured providing a real-world example and continuous delivery ready.

beanmother - A library for setting up Java objects as test data.

avoid-random-string-utils - Example of the RandomStringUtils class vs JavaFaker to generate data

JSON-Schema Faker - JSON-Schema + fake data generators

Faker.js - What really happened with Aaron Swartz?

selenium-java-lean-test-achitecture - Ready to use Lean Test Automation Architecture using Java and Selenium WebDriver to speed up your test automation

Mockneat - MockNeat - the modern faker lib.

console-captor - 🎯 ConsoleCaptor captures console output for unit testing purposes