summaryrefslogtreecommitdiff
path: root/testrepository/tests/monkeypatch.py
Commit message (Collapse)AuthorAgeFilesLines
* * As a side effect of fixing bug #597060 additional arguments passed to testrRobert Collins2012-12-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | run or testr list are only passed to the underlying test runner if they are preceeded by '--'. (Robert Collins, #597060) * ``AbstractArgument`` now handles the case where additional arguments are present that the argument type cannot parse, but enough have been parsed for it to be valid. This allows optional arguments to be in the middle of a grammar. (Robert Collins) * ``cli.UI`` now passed '--' down to the argument layer for handling rather than implicitly stripping it. (Robert Collins) * ``DoubledashArgument`` added to allow fine grained control over the impact of -- in command lines. (Robert Collins) * ``StringArgument`` now rejects '--' - it should be handled by the use of a ``DoubledashArgument`` where one is expected. This is a bit awkward and does not permit passing '--' down to a child process, so further work may be needed - file a bug if this affects you. (Robert Collins) * ``testr run foo`` now applies foo as a regex filter against the tests found by doing a listing of the test runners tests. Likewise ``testr list-tests foo`` will apply foo as a filter against the found tests. This makes it easy to limit the tests that will be requested for running by the backend test process - simply pass one or more regex filters into testr run. (Robert Collins, #597060)
* Start on the init command.Robert Collins2009-12-221-0/+40