./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.29.0, Package name: py37-test-xdist-1.29.0, 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] [devel/py-test] [lang/py-six] [devel/py-execnet] [devel/py-test-forked] [lang/python37]

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

Master sites:

SHA1: 7ac94ca186ed88058b38caf9e0d4ae5642a39d6a
RMD160: fcf0e76a48a3b102a1a40f90ed3894612ae673c2
Filesize: 60.34 KB

Version history: (Expand)


CVS history: (Expand)


   2019-06-15 09:04:29 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-xdist: updated to 1.29.0

pytest-xdist 1.29.0:

Features
- --max-worker-restart now assumes a more reasonable value (4 times the number of
  nodes) when not given explicitly. This prevents test suites from running \ 
forever when the suite crashes during collection.

- When the test session is interrupted due to running out of workers, the reason \ 
is shown in the test summary
  for easier viewing.
- Compatibility fix for upcoming pytest 5.0: session.exitstatus is now an \ 
IntEnum object.

Bug Fixes
- No longer show an internal error when we run out of workers due to crashes.
   2019-04-05 15:11:30 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-xdist: updated to 1.28.0

pytest-xdist 1.28.0:
Features
- pytest-xdist now uses the new pytest_report_to_serializable and \ 
pytest_report_from_serializable
  hooks from pytest 4.4 (still experimental). This will make report \ 
serialization more reliable and
  extensible.
   2019-03-21 11:22:06 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-xdist: updated to 1.27.0

pytest-xdist 1.27.0:

Features
- The new pytest_xdist_getremotemodule hook allows overriding the module run on \ 
remote nodes.
- Improve behavior of --numprocesses=auto to work well with --pdb option.
   2019-01-29 07:44:51 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-xdist: updated to 1.26.1

pytest-xdist 1.26.1:

Bug Fixes
Do not implement deprecated pytest_logwarning hook in pytest versions where it \ 
is deprecated.
   2019-01-13 18:59:29 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-xdist: updated to 1.26.0

pytest-xdist 1.26.0:

Features
- The current directory is no longer added ``sys.path`` for local workers, only \ 
for remote connections.
  This behavior is surprising because it makes xdist runs and non-xdist runs to \ 
potentially behave differently.

Bug Fixes
- Warning attributes are checked to make sure they can be dumped prior to
  serializing the warning for submission to the master node.
   2018-12-13 20:59:56 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-xdist: updated to 1.25.0

pytest-xdist 1.25.

Deprecations and Removals
Pytest versions older than 3.6 are no longer supported.

Features
Node setup information is hidden when pytest is run in quiet mode to reduce \ 
noise on many-core machines.
mainargv is made available in workerinput from the host's sys.argv.
This can be used via request.config.workerinput["mainargv"].

Bug Fixes
Fix report of module-level skips (pytest.skip(reason, allow_module_level=True)).
Fix support for gevent monkeypatching
pytest 4.1 support: ExceptionInfo API changes.
pytest 4.1 support: pytest_logwarning hook removed.
   2018-11-11 22:57:17 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-test-xdist: updated to 1.24.1

pytest-xdist 1.24.1:

Bug Fixes
- Correctly handle warnings created with arguments that can't be serialized \ 
during the transfer from workers to master node.
   2018-10-30 11:15:17 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-xdist: updated to 1.24.0

pytest-xdist 1.24.0:
Features
- New --maxprocesses command-line option that limits the maximum number of \ 
workers when using --numprocesses=auto.
Bug Fixes
- Fix scheduling deadlock in case of inter-test locking.