Better HN
topnewbestaskshowjobs
Log inSign up

w0tintarnation

2 karma · joined Jul 4, 2020 (6y ago) · 2 submissions

Submissions

comment 5y ago · link · parent

Do you have an opinion on grouping pytest tests in classes?

    class Test_my_function:
        def with_default_arguments(self):
        def with_some_other_arguments(self):
If you can make your eye stop twitching after seeing snake cased class names, this is at least another option of grouping tests for a single function.