Ask HN: How to generate test data for Integration Testing?
2 points| royalghost | 6 years ago
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.