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
559 stars 11 forks source link

Add support for dealing with pytest warnings #402

Open bobbobbio opened 1 month ago

bobbobbio commented 1 month ago

Use Cases pytest can generate various warnings that can be helpful. I want to view and manage these warnings when I am using maelstrom-pytest

Acceptance Criteria

We should support in some way the behavior of the following pytest CLI options

If pytest displays a warning, we should somehow display this to the user.

Implementation Considerations Some warnings might not pop out unless you are running a test. We might need to somehow scrape the output of tests to find warnings. See #390 which is about doing something similar for Rust / Go

Definition of Done