/pytest-mpi

Pytest plugin for working with MPI

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Documentation Status Coverage Status Version License Wheel Format Supported versions Supported implemntations PyPI

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:

    @pytest.mark.mpi
    def test_mpi():
        pass

Further documentation can be found at https://pytest-mpi.readthedocs.io.

Bug reports and suggestions should be filed at https://github.com/aragilar/pytest-mpi/issues.