← All projects
Project record1 mention
Originally shared on Hacker News

Vedro

Vedro is a Python testing framework positioned as a pytest alternative without the magic and with clear output. Tests are plain Python: plain assert statements instead of custom matchers, no fixture magic, and failures produce readable diffs that show what went wrong. Tests can be simple functions or structured with steps that self-document in the output, and it includes a vedro.asserts helper for unittest-style assertions without special handling.

Last shared For Aims to appeal to Python developers including pytest users looking for an alternative, unittest users, and developers coming from other languages like JavaScript.
01 / The problem

What it addresses

pytest's fixture magic and failure output add extra context that can obscure the actual error, making it hard to pinpoint what went wrong when tests fail.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Vedro

    Vedro is a Python testing framework positioned as a pytest alternative without the magic and with clear output. Tests are plain Python: plain assert statements instead of custom matchers, no fixture magic, and failures produce readable diffs that show what went wrong. Tests can be simple functions or structured with steps that self-document in the output, and it includes a vedro.asserts helper for unittest-style assertions without special handling.

    Problem: pytest's fixture magic and failure output add extra context that can obscure the actual error, making it hard to pinpoint what went wrong when tests fail.

    Audience: Aims to appeal to Python developers including pytest users looking for an alternative, unittest users, and developers coming from other languages like JavaScript.

    Posted by @tsv_ · Original source ↗

    Source text · @tsv_ · · Source ↗

    I'm working on Vedro, a Python testing framework as a pytest alternative without the magic and with clear output. The main idea is that tests should just be Python: plain `assert` statements instead of custom matchers, no fixture magic, and when tests fail you get readable diffs that actually show what went wrong. Tests can be simple functions or structured with steps that self-document in the output.