Test Data Factory: Why and How to Use

This page summarizes the projects mentioned and recommended in the original post on dev.to

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

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

  • In some cases, you can even call some existing endpoints to provide data you need to use in your tests. It’s the case for the method getAllSimulationsFromApi() where I’m getting the existing simulation, using it in the oneExistingSimulation() factory method to get a random existing simulation and on allExistingSimulations() to return all the existing simulations.

  • Java Faker

    Brings the popular ruby faker gem to Java

  • For that I will introduce you JavaFaker, a is a library that can generate fake random data every time it’s called. For example: if you generate a name all the names generated will be different.

  • 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
  • selenium-java-lean-test-achitecture

    Ready to use Lean Test Automation Architecture using Java and Selenium WebDriver to speed up your test automation

  • In the selenium-java-lean-test-architecture project, you will find the BookingDataFactory class that generates data for booking a room.

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