I am learning unit testing on the job, at a new job. The testing team is small, (1 other), and all of the tests are written in the following fashion.
class TestClass(unittest.TestCase): def testFunction(self): #Test - 1 #Assign #Act #Assert #Test - 2 #Assign #Act #Assert Cont...
So, asserting, then re-assigning the variables and asserting again.
Now, this is different from what I'm reading about unit tests online about unit tests (One test per method).
This makes it hard to debug tests because if there are say, 12 tests, and an error in the 12th, I have to step through 11 different tests to check the stack data and/or errors.
Is this normal?