ward icon indicating copy to clipboard operation
ward copied to clipboard

[Question] if I use pytest for django, should I use this for better readability?

Open simkimsia opened this issue 4 years ago • 1 comments

If so how do I use this?

As an additional or as replacement for pytest?

simkimsia avatar Dec 25 '21 05:12 simkimsia

Ward is an alternative (replacement,) to pytest and provided it's own command (ward, vs pytest). It also provides it's own style of Test and Fixture definition. I suspect converting a test from pytest to ward is relatively straightforward (and in some cases probably just means adding the @test decorator with a test name as an argument.)

In my opinion, the biggest reason you might want to use Ward is, as you said, that it has very nice output out of the box (without using any plugins, though you can expand the output with plugins.)

kajuberdut avatar Jan 19 '22 15:01 kajuberdut