I use readable test cases and Markdown-based literate testing as complementary ways to make tests easier to understand. These notes connect parameterized pytest tests with experiments in Markdown-based testing.
I posted about readable parameterized tests on 2024-08-31 17:18 UTC.
I wrote notes on “literate testing,” inspired by the new Markdown-based testing framework added to Ruff.
I tried out a pytest plugin called pytest-markdown-docs.
I shared the literate-testing notes at https://t.co/DUhHEeXGau.
Related: software upgrade strategies, testing and tdd, ai generated software documentation