Suppose I've written an app which may be invoked as follows:
my_magic_app --foo=yes --bar=5003 --baz=best_baz_ever
Now suppose I want to test it by having bar range from some number to another, foo be either yes or no, and baz either be all strings upto a certain length or strings from a certain dictionary which I have in a file. Also, I don't quite want all combinations but only subject to a certain condition (e.g. bar can't be over 5000 if foo is negative).
I could write a script to do this generation, applying the condition etc. - but I was wondering whether there's something like that already.
- For Unix-like operating systems
- Free license
- I don't really care whether it's a script or a binary
- Non-arcane languages preferred (e.g. bash, python, perl)