How to Install and Uninstall python-pytest-xdist Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 20,2024

1. Install "python-pytest-xdist" package

This guide covers the steps necessary to install python-pytest-xdist on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-pytest-xdist

2. Uninstall "python-pytest-xdist" package

This guide covers the steps necessary to uninstall python-pytest-xdist on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove python-pytest-xdist $ sudo apt autoclean && sudo apt autoremove

3. Information about the python-pytest-xdist package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python-pytest-xdist
Priority: optional
Section: universe/python
Installed-Size: 114
Maintainer: Ubuntu Developers
Original-Maintainer: Adam Schmalhofer
Architecture: all
Source: pytest-xdist
Version: 1.8-0.1
Provides: python2.7-pytest-xdist
Depends: python-execnet (>= 1.0.9), python-py, python-pytest, python2.7, python (>= 2.7.1-0ubuntu2), python (<< 2.8)
Filename: pool/universe/p/pytest-xdist/python-pytest-xdist_1.8-0.1_all.deb
Size: 19942
MD5sum: 5ded062c3607dd2f0e945a589395fbe5
SHA1: f36c22b1964b874c35fb2dc8787c3ae1c71d0806
SHA256: b1e0684e74922bc144ef0cb2b504d007040e74a15ee8eed706d8acd856820aaa
Description-en: xdist plugin for py.test
The pytest-xdist plugin extends py.test with some unique test execution modes:
.
* 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.
* Load-balancing:
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.
* Multi-Platform coverage:
you can specify different Python interpreters or different platforms and
run tests in parallel on all of them.
.
Before running tests remotely, py.test efficiently synchronizes your program
source code to the remote place. All test results are reported back and
displayed to your local test session. You may specify different Python
versions and interpreters.
Description-md5: 087a140751b6649bc1060344eee5d92d
Enhances: python-pytest
Homepage: http://bitbucket.org/hpk42/pytest-xdist
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu