Dear All,
Here is an assignment that I have taken up.
I am given a
string, say for eg: if(a!=c || b!=c, true, false)
This means that if a!=c or b!=c, then validate as true, else validate as false.
Given this scenario I have to create all possible testcases for this string.
Eg:
1. a==c and b==c
2. a!=c
3. b!=cb
Currently I am only doing for the above said scenario; So I have not yet gone generic.
As a first step, I have managed to parse the string and populate a stack with each individual string
The challenge that I am facing is, how to create the
test cases based on the stack values.
I am pretty clueless.
Can anyone in this forum help me please.
Thanks!
Regards,
Sriram