▲ | tsv_ 3 days ago | |||||||
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. I would be very happy to receive any feedback! | ||||||||
▲ | erezsh 2 days ago | parent | next [-] | |||||||
I like the promise, and it looks nice. But I'm not sure what are the selling points. - pytest already works with assert. Why brag about something that is already commonplace? - It could help if your docs explained the alternative to using fixtures. I assume it would be done by re-using givens, but you could make it clearer what is the preferred way to do it, and what is gained, or lost, but doing it that way. - Can you explain how your diff is better than the pytest diff? (I'm asking as someone who hates the pytest diff) | ||||||||
| ||||||||
▲ | benji-york 2 days ago | parent | prev [-] | |||||||
As someone that loves Python and hates pytest, you have my support. (Although, I don't like using bare `assert`s in tests, but maybe you'll convince me.) | ||||||||
|