./devel/py-test-xdist, Plugin for distributed testing and loop-on-failing modes

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.22.2, Package name: py27-test-xdist-1.22.2, Maintainer: pkgsrc-users

The pytest-xdist plugin extends py.test with some unique test execution modes:
* test run parallelization: if you have multiple CPUs or hosts you can use
those for a combined test run. This allows to speed up development or to use
special resources of remote machines.
* --boxed: (not available on Windows) run each test in a boxed subprocess to
survive SEGFAULTS or otherwise dying processes
* --looponfail: run your tests repeatedly in a subprocess. After each run
py.test waits until a file in your project changes and then re-runs the
previously failing tests. This is repeated until all tests pass after which
again a full run is performed.
* Multi-Platform coverage: you can specify different Python interpreters or
different platforms and run tests in parallel on all of them.


Required to run:
[devel/py-setuptools] [lang/python27] [devel/py-py] [devel/py-test] [devel/py-execnet] [devel/py-test-forked]

Required to build:
[pkgtools/cwrappers] [devel/py-setuptools_scm]

Master sites:

SHA1: f4c979a83d2456b6c7347453e726117fd2711b87
RMD160: e7fac1c86b4f8cebd00a12a20dc44f9d00867acb
Filesize: 56.51 KB

Version history: (Expand)


CVS history: (Expand)


   2018-03-01 09:06:31 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-xdist: updated to 1.22.2

1.22.2:
Add backward compatibility for slaveoutput attribute to WorkerController instances.
   2018-02-22 10:36:36 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-test-xdist: updated to 1.22.1

pytest-xdist 1.22.1

Bug Fixes
Fix issue when using loadscope or loadfile where tests would fail to start if \ 
the first scope had only one test.

Trivial Changes
Change terminology used by pytest-xdist to master and worker in arguments and \ 
messages (for example --max-worker-reset).
   2018-01-12 13:38:32 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-xdist: updated to 1.22.0

pytest-xdist 1.22.0:

Features
--------
- Add support for the ``pytest_runtest_logfinish`` hook which will be released
  in pytest 3.4
   2017-12-30 11:24:19 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-test-xdist: updated to 1.21.0

pytest-xdist 1.21.0:

Deprecations and Removals
Drop support for EOL Python 2.6.

Features
New --dist=loadfile option which load-distributes test to workers grouped by the \ 
file the tests live in.

Bug Fixes
Fix accidental mutation of test report during serialization causing longrepr \ 
string-ification to break.
   2017-10-12 08:27:53 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-xdist: update to 1.20.1

1.20.1:

Bug Fixes
- Fix hang when all worker nodes crash and restart limit is reached
- Fix issue where the -n option would still run distributed tests when pytest
  was run with the --collect-only option
   2017-08-22 10:04:29 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
1.20.0:

Features
- ``xdist`` now supports tests to log results multiple times, improving
  integration with plugins which require it like `pytest-rerunfailures
  <https://github.com/gocept/pytest-rerunfailures>_` and `flaky
  <https://pypi.python.org/pypi/flaky>`_.

Bug Fixes
- Fix issue where tests were being incorrectly identified if a worker crashed
  during the ``teardown`` stage of the test.
   2017-08-15 09:42:11 by Thomas Klausner | Files touched by this commit (1) | Package updated
Log message:
Add missing PLIST commit for update.
   2017-08-14 21:47:52 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated py-test-xdist to 1.19.1.

pytest-xdist 1.19.1 (2017-08-10)
================================

Bug Fixes
---------

- Fix crash when transferring internal pytest warnings from workers to the
  master node. (`#214 <https://github.com/pytest-dev/pytest-
  xdist/issues/214>`_)

pytest-xdist 1.19.0 (2017-08-09)
================================

Deprecations and Removals
-------------------------

- ``--boxed`` functionality has been moved to a separate plugin, `pytest-forked
  <https://github.com/pytest-dev/pytest-forked>`_. This release now depends on
  `` pytest-forked`` and provides ``--boxed`` as a backward compatibility
  option. (`#1 <https://github.com/pytest-dev/pytest-xdist/issues/1>`_)

Features
--------

- New ``--dist=loadscope`` option: sends group of related tests to the same
  worker. Tests are grouped by module for test functions and by class for test
  methods. See ``README.rst`` for more information. (`#191 <https://github.com
  /pytest-dev/pytest-xdist/issues/191>`_)

- Warnings are now properly transferred from workers to the master node. (`#92
  <https://github.com/pytest-dev/pytest-xdist/issues/92>`_)

Bug Fixes
---------

- Fix serialization of native tracebacks (``--tb=native``). (`#196
  <https://github.com/pytest-dev/pytest-xdist/issues/196>`_)