Description
Currently, the --testlist option allows a file containing a list of tests to be specified in the command line.
It may make sense to provide a more general mechanism for allowing files of arbitrary text to be specified on the command line.
This would replace the --testlist option.
One possibility would be to allow something like [<filepath>]
to be used anywhere on the command line, and would result in the entire contents of the file being inserted in the command line at that point. All newlines in the file would be converted to spaces.
In fact, the only thing on the command line could be a file reference, and the entire command line would then be retrieved from the file.
As an extension, it might be useful to allow an extension to this syntax [<filepath>,<delimiter>]
, where <delimiter>
would specify the string that newlines would be replaced with in the file (for instance a comma).
File references should be nestable up to some limit (three, perhaps).
The processing of the file references would occur at the top level, before any actual parsing of the command line occurred.