Skip to content

No-capture mode for raw test output #595

@MatthewMckee4

Description

@MatthewMckee4

Add a --no-capture flag that disables output capture and runs tests serially, letting stdout/stderr flow directly to the terminal:

karva test --no-capture test_debug

This is useful when debugging with print statements or interactive debuggers. Tests run one at a time so their output doesn't interleave.

Similar to pytest's -s flag.

See: https://nexte.st/docs/running/#options-and-arguments

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliRelated to the command-line interfacetest-runningRelated to running tests with karva

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions