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
  • Mergify - Automate your Pull Request with Mergify
  • Scout APM - Less time debugging, more time building
  • SonarQube - Static code analysis for 29 languages.
  • 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.

  • Mergify

    Automate your Pull Request with Mergify. Mergify is the most powerful merge queue tool that offers speculative checks, batch merges, and multiple queueing options. Coordinated with any CI and fully integrated to GitHub. Get started or request a demo!

  • 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