[issue42797] Allow doctest to select tests via -m/--match option

2021-01-01 Thread Costas Basdekis
Costas Basdekis added the comment: Thanks for the thorough feedback Steven (and happy new year). About -m flag: we could use -k as other testing frameworks use (pytest), or even -t. About selecting multiple indexes: what you described is my exact use case, as I have a lot of failing

[issue42797] Allow doctest to select tests via -m/--match option

2020-12-31 Thread Costas Basdekis
Change by Costas Basdekis : -- keywords: +patch pull_requests: +22868 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24028 ___ Python tracker <https://bugs.python.org/issu

[issue42797] Allow doctest to select tests via -m/--match option

2020-12-31 Thread Costas Basdekis
New submission from Costas Basdekis : Most testing frameworks allow for only a subset of tests to be run, and the reason is usually either to focus on a specific test among many failing ones, or for speed purposes if running the whole suite is too slow. With doctests, it's usually the case