Skip to content

Enable regular expression for stdout, stderr assertion #177

@pham-anh

Description

@pham-anh

Prerequisites

  • Are you running the latest version?
  • Did you perform a cursory search?

Description

I think it would be nice if we can use regular expression in stdout and stderr assertion, for example:

tests:
    echo 'There are 30 dogs': 
        stdout:
            lines:
                1: There (is|are) \d+ dog[s]?

Specifications

  • Version: 2.4
  • Platform: Linux
  • Subsystem: Centos

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions