How to generate blank objects #880
Unanswered
praveenfun2
asked this question in
Q&A
Replies: 2 comments 2 replies
-
If I understand correctly, you have an object pre-populated with hard-coded values, e.g. Person p = new Person();
p.setName("test-name");
// etc ... You don't want any other fields populated with random values. What are you trying to do with this populated object using the library? Can you provide a specific example? |
Beta Was this translation helpful? Give feedback.
2 replies
-
Next release https://www.instancio.org/user-guide/#creating-blank-objects |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way by which we can disable auto populating fields with random values.
I have a project where we already have a large number of test cases where we rely only on manually set fields in objects. We don't want any randomly generated values.
Beta Was this translation helpful? Give feedback.
All reactions