1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
[](http://pytest-mpi.readthedocs.org/en/latest/?badge=latest)
[](https://codecov.io/github/aragilar/pytest-mpi?branch=master)
[](https://pypi.python.org/pypi/pytest-mpi/)
[](https://pypi.python.org/pypi/pytest-mpi/)
[](https://pypi.python.org/pypi/pytest-mpi/)
[](https://pypi.python.org/pypi/pytest-mpi/)
[](https://pypi.python.org/pypi/pytest-mpi/)
[](https://pypi.python.org/pypi/pytest-mpi/)
[](https://pypi.python.org/pypi/pytest-mpi/)
`pytest_mpi` is a plugin for pytest providing some useful tools when running
tests under MPI, and testing MPI-related code.
To run a test only when using MPI, use the `pytest.mark.mpi` marker like:
```python
@pytest.mark.mpi
def test_mpi():
pass
```
Further documentation can be found at [https://pytest-mpi.readthedocs.io](https://pytest-mpi.readthedocs.io).
Bug reports and suggestions should be filed at
[https://github.com/aragilar/pytest-mpi/issues](https://github.com/aragilar/pytest-mpi/issues).
|