Adding repeated versions of a given test to the Test Manager with different inputs and expected res.

I may be missing the obvious, but I want to add the same test over and over to the test manager with a range of inputs and expected results. Do I have to create a separate variant test file for every one of these?
I would like to see this in the test manager tests window - same TST file, different variants:
...
funcXtest - inputs a,b,c, result 1
funcXtest - inputs d,e,f, result 2
funcXtest - inputs a,NULL,c, result EXCEPTION

Each of these could be enabled/disabled individually...

Could be dozens.
 
at the risk of droning on and on, each entry's description should be distinct, and, it should be possible to duplicate an entry in Test Manager and then tweak the inputs and modify the description.

For consistency with other unit testing frameworks, (optional) Setup and Teardown test phases might be helpful too....
 
You can add the same test script multiple times, and give each instance a logical description and a different set of variable values.
 
OK, confirmed. I must have tripped over my shoelaces. The only suggestion I might have is that the app require a distinct name for each test. So,

funcXtest1 - inputs a,b,c, result 1
funcXtest2 - inputs d,e,f, result 2
funcXtest3 - inputs a,NULL,c, result EXCEPTION

A button to duplicate a test would still be helpful, and maybe a sequence of execution?
 
I have added this to the list of enhancement requests.

Note that the sequence of execution is top to bottom. To change the sequence you can move a test item with the "Move up" and "Move down" button.

To duplicate a test item, select it, hold down the Ctrl-key, and press the "New" button. I admit that it's a bit of a hidden feature.
 
Last edited:
Back
Top