re: Alternate to Nose for Newbie Tester VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I would stay away from pytest fixtures - they're what put me off it for a few years. I use pytest in an xunit style, using unittest.TestCase as a b...

I don't really like class based unit tests

See above for my reasoning on code organisation. I tend to write quite functional code too but I'll have a TestCase class with multiple test_* methods for testing the function.

I stand by my mistrust of pytest fixtures though - sorcery and black magic. (But I will go and take another look at them on your recommendation).

code of conduct - report abuse