From m at maximilianroos.com Wed Jun 2 13:44:16 2021 From: m at maximilianroos.com (Maximilian Roos) Date: Wed, 2 Jun 2021 10:44:16 -0700 Subject: [pytest-dev] Announcing pytest-accept Message-ID: I recently released pytest-accept . I'd appreciate any feedback ? ideas for improvements or thoughts on the current implementation. To quote from the readme: pytest-accept is a pytest plugin for automatically updating doctest outputs. It runs doctests, observes the generated outputs, and writes them to the doctests' documented outputs. It's designed for a couple of use cases: - People who work with doctests and don't enjoy manually copying generated outputs from the pytest error log and pasting them into their doctests' documented outputs. pytest-accept does the copying & pasting for you. - People who generally find writing tests a bit annoying, and prefer to develop by "running the code and seeing whether it works". This library aims to make testing a joyful part of that development loop. pytest-accept is decoupled from the doctests it works with ? it can be used with existing doctests, and the doctests it edits are no different from normal doctests. --- Thanks, Max -------------- next part -------------- An HTML attachment was scrubbed... URL: