This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author user93448
Recipients user93448
Date 2019-08-16.14:15:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1565964928.02.0.804836557192.issue37873@roundup.psfhosted.org>
In-reply-to
Content
The unittest documentation makes reference to a potential parallelization feature:

"Note that shared fixtures do not play well with [potential] features like test parallelization and they break test isolation. They should be used with care." (https://docs.python.org/3/library/unittest.html)

However, it seems that executing tests in parallel is not yet a feature of unittest. This enhancement request is to add parallel execution of tests to unittest.

A command line option may be a good interface. Ideally, it would be compatible with test discovery. Outside of the Python ecosystem, a common practice is to define test cases in a Makefile and then execute GNU Make with the '-j' flag (https://www.gnu.org/software/make/manual/html_node/Parallel.html#Parallel). Adding such an option to unittest would be a convenience and may save the effort of bringing in additional libraries or tools for parallel unit test execution.
History
Date User Action Args
2019-08-16 14:15:28user93448setrecipients: + user93448
2019-08-16 14:15:28user93448setmessageid: <1565964928.02.0.804836557192.issue37873@roundup.psfhosted.org>
2019-08-16 14:15:27user93448linkissue37873 messages
2019-08-16 14:15:27user93448create