support complex test names in mp plugin
To support tests with layers and those loaded via load_tests, the mp plugin needs to be able to handle more complex instructions than 'load this test from this one name'.
I'm not sure this is relevant, but there is one feature that I'm missing compared to zope.testrunner ( http://pypi.python.org/pypi/zope.testrunner/4.0.4 ). To be able to filter test selection with command line. Examples how I would expect it to work:
following would do case-insensitive matching over test method, class and module/package.
$ nosetests -t test_foo
Basically: https://code.google.com/p/python-nose/issues/detail?id=207
Implemented a plugin for the task: https://github.com/iElectric/nose-selecttests
@iElectric you are looking for the attributes plugin for nose2 and it is offtopic for this issue.
@jpellerin What kind of instructions does mp needs to have?
I haven't thought this one out fully yet. But I think in general so support things like the layers plugin, mp needs to be able to send more than just the name of a test, it needs to send a data structure of some kind. Like a dict with layer:, tests: and sublayers: keys, which may contain other dicts with the same keys. But more generic so that other plugins that need to execute tests in a certain pattern can instruct mp also.
On Thu, Jul 18, 2013 at 6:28 PM, Omer Katz [email protected] wrote:
@jpellerin https://github.com/jpellerin What kind of instructions does mp needs to have?
— Reply to this email directly or view it on GitHubhttps://github.com/nose-devs/nose2/issues/42#issuecomment-21219820 .