shy-apartment-29716
02/29/2024, 8:37 AMcurved-television-6568
02/29/2024, 8:37 AMcurved-television-6568
02/29/2024, 8:38 AMTestCase.gorgeous-winter-99296
02/29/2024, 11:10 AMcurved-television-6568
02/29/2024, 12:02 PMhundreds-father-404
02/29/2024, 12:27 PM# --------------------------------------
# My section header
# --------------------------------------bitter-ability-32190
02/29/2024, 3:03 PMcurved-manchester-66006
02/29/2024, 9:07 PM# --------------------------------------
# Testing Class Foo Method bar
# --------------------------------------
def test_Foo_bar_happy_path():
pass
def test_Foo_bar_corner_case():
pass
def test_Foo_bar_corner_zero():
pass
looks better than
class TestFooBar():
def test_happy_path(self):
pass
def test_corner_case(self):
pass
def test_zero(self):
pass
What is the argument for not using classes for tests that doesn't generalize to the 4145 classes under test?hundreds-father-404
02/29/2024, 9:37 PMself with classes hah. But weight my opinion incredibly lowly - I don't actively contribute anymore. I only wanted to offer an alternative if it wasn't considered yetbetter-van-82973
03/01/2024, 1:38 AMproud-dentist-22844
03/01/2024, 9:15 PMproud-dentist-22844
03/01/2024, 9:17 PMcurved-television-6568
03/04/2024, 11:40 AMbitter-ability-32190
03/04/2024, 12:21 PMbroad-processor-92400
03/04/2024, 9:16 PMcurved-television-6568
03/17/2024, 10:54 AM