I'm setting options by adding things to an arg hash, and I am currently using a table to select my two test cases, one without a file, and the other one with. I also have an option that includes specifing a list, and I want to be able to specify a null list, a one element list or a three element list.
I think I'll use your suggestion of basing it on tables, and pre-populate my tables so that the first entry is 'nothing'; then I just use a serious of next ifs to try all of the different combinations.
In reply to Re^2: Testing and combinations
by talexb
in thread Testing and combinations
by talexb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |