https://github.com/aragilar/pytest-mpi
Pytest plugin for working with MPI
https://github.com/aragilar/pytest-mpi
mpi pytest-plugin
Last synced: about 1 year ago
JSON representation
Pytest plugin for working with MPI
- Host: GitHub
- URL: https://github.com/aragilar/pytest-mpi
- Owner: aragilar
- License: bsd-3-clause
- Created: 2019-06-26T13:10:19.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-12-22T02:54:11.000Z (over 1 year ago)
- Last Synced: 2025-03-31T10:08:18.974Z (about 1 year ago)
- Topics: mpi, pytest-plugin
- Language: Python
- Homepage: https://pytest-mpi.readthedocs.io/
- Size: 111 KB
- Stars: 19
- Watchers: 2
- Forks: 8
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
- Code of conduct: code_of_conduct.md
Awesome Lists containing this project
README
[](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).