I have developed an application with Spring MVC which works with bulk data insert / update for pre: some Use cases that enter a record with 100-125 attributes
To put bulk data, I'm working hard on the values to be included in my unit test class. I have a transfer object for moving data, so I am making these TOS in these unit test cases and then calling for the desired operation to test. For each DAO, at least 4 test cases are required for the unit testing CRUED operation.
I find it very difficult to populate the TOS by encoding the values in my test case source file. Imaging writes 125 sets for each unit test case. I want to populate my TOS dynamically by reading data from an XML file or any kind of media, so that hard-coded data does not need to be changed every time for test cases.
Setting data in an XML file is easier than hard coding values in junior source files
I have installed the data in the XML file and then using any JAASB implementation I can think of some innovative solutions like reading and generating SOS .. But I believe that this type of need to handle something easier and better.
Need some help on this.
Imaging writes 125 sets for each unit test case.
You need a Test Assistant System (T) that takes care of test data. Then you call the appropriate method which pops to TO: It is in the form of 0 parameters (fully random / fixed, not tested) or 125 (fully controlled by testing) (and anything in between) Could.
No testers in any way test.
Comments
Post a Comment