[issue37873] unittest: execute tests in parallel

2020-09-02 Thread STINNER Victor


Change by STINNER Victor :


--
nosy:  -vstinner

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37873] unittest: execute tests in parallel

2020-09-01 Thread Bar Harel


Change by Bar Harel :


--
nosy: +bar.harel

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37873] unittest: execute tests in parallel

2020-08-10 Thread STINNER Victor


STINNER Victor  added the comment:

> Leveraging GNU Parallel (https://www.gnu.org/software/parallel/) might help 
> simplify implementation. Perhaps that could be used as a subprocess call?

In general, we attempt to avoid depending on the availability of external tool. 
For example, I don't expect this tool to be available on Windows, whereas it 
would be better to support parallel execution on Windows as well.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37873] unittest: execute tests in parallel

2020-08-10 Thread D. A. Pellegrino


D. A. Pellegrino  added the comment:

Leveraging GNU Parallel (https://www.gnu.org/software/parallel/) might help 
simplify implementation. Perhaps that could be used as a subprocess call?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37873] unittest: execute tests in parallel

2020-04-30 Thread Giampaolo Rodola'


Change by Giampaolo Rodola' :


--
nosy: +giampaolo.rodola

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37873] unittest: execute tests in parallel

2019-08-21 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

See also 
https://mail.python.org/pipermail/python-ideas/2017-September/047100.html . One 
of the ideas in the thread was to move test.regrtest parallel execution 
functionality into unittest. I think this would be good to have it in unittest 
like support in pytest for -j.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37873] unittest: execute tests in parallel

2019-08-21 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +xtreak

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37873] unittest: execute tests in parallel

2019-08-21 Thread STINNER Victor


Change by STINNER Victor :


--
nosy: +vstinner

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37873] unittest: execute tests in parallel

2019-08-19 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
nosy: +ezio.melotti, michael.foord

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37873] unittest: execute tests in parallel

2019-08-19 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

test.regrtest has a  -j option. Perhaps some of the Python coding for that 
could be used for unitest also.

--
nosy: +terry.reedy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37873] unittest: execute tests in parallel

2019-08-16 Thread D. A. Pellegrino


New submission from D. A. Pellegrino :

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.

--
components: Library (Lib)
messages: 349864
nosy: user93448
priority: normal
severity: normal
status: open
title: unittest: execute tests in parallel
type: enhancement
versions: Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com