A base fixture class can help reduce repetitive code - Karl Seguin(codebetter.com)
submitted by
schalkvanwyk(1335) 3 years, 6 months ago
This is one of those posts where you throw up some code and hope you're doing it right (if I'm not, do tell).
As you start to write a large number of tests, you realize that there's a lot of small repetition going on. Some of it is directly related to testing infrastructure (mocks and DI), while others are just utility functions.
|category: C#
|Views: 5
tags:
C# another
Everyones tags:
Your Tags: