maelstrom-software / maelstrom

Maelstrom is a fast Rust, Go, and Python test runner that runs every test in its own container. Tests are either run locally or distributed to a clustered job runner.
https://maelstrom-software.com/
Apache License 2.0
599 stars 11 forks source link

Forward `--runxfail` argument in `maelstrom-pytest` #397

Open bobbobbio opened 2 months ago

bobbobbio commented 2 months ago

Use Cases I'm writing tests in Python which are expected to fail, so they are annotated with xfail. I want to confirm what the failure that normally is being swallowed looks like, so I wish to run the tests and have them fail.

Acceptance Criteria maelstrom-pytest has a new CLI option (not config option) called --runxfail that makes xfail tests fail.

Implementation Considerations We should just forward this option along when invoking pytest to run a test.

Definition of Done