Instead of using an executable or script for the test data to display, allow users to provide a data file with all of the data.
Benefits:
can read files after the fact
custom commands
If the user has a custom command/program/whatever that produces output which can be parsed, but isn't yet supported, then he/she can simply pipe the output.
Use a switch (maybe -f) to indicate that a file is being passed in instead of a runner.
Instead of using an executable or script for the test data to display, allow users to provide a data file with all of the data.
Benefits:
Use a switch (maybe
-f
) to indicate that a file is being passed in instead of a runner.Don't forget to allow for
-
andstdin
.