Settings

Theme

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

2 points by royalghost 6 years ago · 0 comments · 1 min read


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.

I am looking for some testing framework/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's say, the following is the dependency graph and I want to execute the method in A :

A <-- B <-- C

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.

Here are the few resources I found helpful:

1. https://stackoverflow.com/questions/591892/tools-for-generating-mock-data

2. https://github.com/Devskiller/jfairy

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection