Skip to content

Convenient test for different schedulers #57

@kain88-de

Description

@kain88-de

pmda can be used with different dask schedulers and in a single core variant. It would be nice if we have a pytest.fixture that is easy to use and runs a single test with all supported schedulers.

from pmda.testing import scheduler

def test_custom(scheduler):
    a = AnalysisFromFunction(...).run(scheduler=scheduler)

I think it should be possible to parametrize over a fixture.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions