Add changelog note for running tests with pytest-xdist
authorPhilippe Pepiot <philippe.pepiot@logilab.fr>
Mon, 29 Oct 2018 16:39:21 +0100
changeset 12358 e0b659abe4b8
parent 12357 e385c9732f1e
child 12359 7b373f903ce8
Add changelog note for running tests with pytest-xdist
doc/changes/3.27.rst
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/changes/3.27.rst	Mon Oct 29 16:39:21 2018 +0100
@@ -0,0 +1,15 @@
+3.27 (not yet released)
+=======================
+
+New features
+------------
+
+* Tests can now be run concurrently across multiple processes. You can use
+  `pytest-xdist`_ for that. For tests using `PostgresApptestConfiguration` you
+  should be aware that `startpgcluster()` can't run concurrently. Workaround is
+  to call pytest with ``--dist=loadfile`` to use a single test process per test
+  module or use an existing database cluster and set ``db-host`` and
+  ``db-port`` of ``devtools.DEFAULT_PSQL_SOURCES['system']`` accordingly.
+
+.. _pytest-xdist: https://github.com/pytest-dev/pytest-xdist
+