Skip to content

Console: test version? #4393

@morgen-peschke

Description

@morgen-peschke

While looking into testing typelevel/log4cats#912, I didn't see a straightforward way to instrument Console[F] for testing (other than possibly redirecting the underlying global stream with scala.Console.with{In|Out|Err}, which seemed like a bad idea and I wasn't fully sure it would work).

This seemed like a reasonable bit of utility that would fit naturally into testkit.

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