./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.20.1, Package name: py27-test-xdist-1.20.1, 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: 69de0a39fb3ef2dc12ebd49ea705534c8a5061cf
RMD160: 67aac6dfca3583d2ab86dcd3b306da3dd7ae5d8d
Filesize: 55.738 KB

Version history: (Expand)


CVS history: (Expand)


   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>`_)
   2017-07-30 07:55:34 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
pytest-xdist 1.18.2:

Bug Fixes
- Removal of unnecessary dependency on incorrect version of py.
- Fix bug in internal event-loop error handler in the master node. This bug
  would shadow the original errors making extremely hard/impossible for users
  to diagnose the problem properly
   2017-07-23 21:41:58 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
1.18.1:

Bug Fixes
- Fixed serialization of ``longrepr.sections`` during error reporting from
  workers.
- Fix ``ReprLocal`` not being unserialized breaking --showlocals usages.
   2017-06-06 19:34:33 by Thomas Klausner | Files touched by this commit (1)
Log message:
Needs py-setuptools_scm.
   2017-05-29 12:38:43 by Adam Ciarcinski | Files touched by this commit (4)
Log message:
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.