Skip to content

Should "deno test" capture user output by default? #14308

Closed
@bartlomieju

Description

With 244926e deno test is able to discern that output comes the user code and thus potentially capture it.

In #14262 (comment) @lucacasonato suggests that we should capture the output by default (similar to Rust) and disable this capturing if --nocapture flag is present. When @dsherret and I worked on the above commit, we did consider it, but both of us prefer the output is not captured by default, so we just left it as is.

This warrants some discussion and getting feedback from community.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    testingrelated to deno test and coverage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions