TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How to generate test data for Integration Testing?

2 pointsby royalghostover 5 years ago
One of the major challenges of creating automated Testing is to create all dependencies in order to execute the test. I am talking this in Java for a fairly older applications, but I believe this still applies to newer app as well.<p>I am looking for some testing framework&#x2F;libraries, where after configuring the dependency graph, it should create all the dependent objects and be able to execute the test. For e.g. Let&#x27;s say, the following is the dependency graph and I want to execute the method in A :<p>A &lt;-- B &lt;-- C<p>Then the library is smart enough to create all dependencies in the database and execute the test. It would be even better, if I can set the number of instances to create etc.<p>Here are the few resources I found helpful:<p>1. https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;591892&#x2F;tools-for-generating-mock-data<p>2. https:&#x2F;&#x2F;github.com&#x2F;Devskiller&#x2F;jfairy

no comments

no comments