Regarding a new feature #30
aakash1234567
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Team,
I am working on one project where I am required to generate large test cases for many questions. Would like to know how we can approach this problem with
test-case-generator
. Let's say I will provide with files containing input format's ie. every file (maybe txt or json) will have one format of input for a particular question. What I want istest-case-generator
should read those files one by one and generate test cases according to that. I can keep a predefined format for this for eg.:So here for this example
1, 2, 3
denotes the line number.inputs
denotes number of inputs in that line.types
denotes the type of each input.ranges
denotes the range of values it can have.We can refactor the approach. This is just an example.
Now second part, I will provide the solution code as well. Now again
test-case-generator
will read these files having test cases. and run the solution program and generate the respective outputs, store these outputs in respective files.I assume I must have cleared what I need. Please have a look into this.
Beta Was this translation helpful? Give feedback.
All reactions