Skip to content

marker

Typed decorator for the snappylapy pytest marker.

SnappylapyMarkerConfig dataclass

SnappylapyMarkerConfig(
    depends: list[Callable[..., Any]] | None = None,
    output_dir: str | None = None,
    foreach_folder_in: str | Path | None = None,
)

Configuration options for the snappylapy pytest marker.

Input parameters for the @pytest.mark.snappylapy() or @configure_snappylapy() decorator.

configure_snappylapy

configure_snappylapy(
    *,
    depends: list[Callable[..., Any]] | None = None,
    output_dir: str | None = None,
    foreach_folder_in: str | Path | None = None,
) -> Callable[[Callable[P, R]], Callable[P, R]]

Decorate a test function with the snappylapy marker and configuration.

An alternative to using the pytest.mark.snappylapy marker directly. Provides type safety, linting, and IDE auto-completion for marker arguments.