aragilar / pytest-mpi

Pytest plugin for working with MPI
https://pytest-mpi.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
19 stars 7 forks source link
mpi pytest-plugin

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.