Parametrised test primitive obsession code smell

added by DotNetKicks
1/18/2021 5:43:59 PM

540 Views

Watch out for this code smell with some unit testing frameworks. In a previous article you saw this state-based integration test: This was the test after I improved it. Still, I wasn't satisfied with it. It has several problems. Take a few moments to consider it. Can you identify any problems? Which ones?


0 comments