Skip to content

Generate baseline #284

Open
Open
@Chemaclass

Description

@Chemaclass

Issues that are on this so-called baseline are no longer reported. This allows you to focus on new issues that are triggered by new or changed code.

Inspired by https://docs.phpunit.de/en/10.5/error-handling.html#ignoring-previously-reported-issues

When you run your test suite using the --generate-baseline CLI option then bashunit's test runner will write a list of all issues that are triggered to an XML file:

bashunit --generate-baseline baseline.xml

When you run your test suite using the --use-baseline CLI option then bashunit's test runner will use this list of already known issues to ignore them for the current run:

bashunit --use-baseline baseline.xml

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions