-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Hi Anuj,
As of now we understand, we can create converter for that Value Object, and have all those fields in test data so that we can populate those values and instantiate Value Object through Converter and send it as Parameter.
but, what if that Value Object is very large, say that has around 30 to 40 fields in it?
I think it is hard maintain all of them in Test Data.
What if that Value Object contains Collection as field, this worse the situation.
I think, no body used all those fields inside the method, they might be hardly using 5 to 10 fields of Value Object inside the method. if so, we can check what fields of VO are actually used inside method and create TestData for those fields only. this logic is useful in EasyTest-Codegen.
Just an idea. Please think over it and let me know your views.
Cheers,
Ravi