Skip to content

Add baseline feature to track expected failures #99

@chr-hertel

Description

@chr-hertel

Is your feature request related to a problem? Please describe.
When adopting the conformance tests for PHP SDK, we have know issues that we accept to fail for now.
We solve that by an ugly stunt in GitHub Actions, which kinda works, but is optimistic since it only tracks a plain number and not which scenarios are expected to pass or fail.
Another example could be an update of the conformance test app, bringing more scenarios.

Describe the solution you'd like
Baselines are a common feature to pin exactly expected failures. Would be great to have an option to dump current failures as some kind of yaml/json/... (readable) file and reference it while executing the tests.

Expectation would be that if only expected failures occur, the exit code of the test run would be 0.

See PHPStan as example.

Describe alternatives you've considered
We could also have some kind of report, that gets compared in the end. Maybe an abstract of those check.json files.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions