Skip to content

Assert stdout or stderr #134

Open
Open

Description

@pgrange

I'd like to write something like:

	command_under_test | should_display "${expected_pattern}"

Or something like:

	command_under_test | err_should_contain "${expected_pattern}"

Activity

  1. aarvio commented on Jan 25, 2026

    @aarvio

    One suggestion for this issue. Not exactly as described in user story but usage can be rather close.
    Just felt that piped approach would be too limiting.

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

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