|
|
|
|
|
by jmsguy
4056 days ago
|
|
Unit tests should have exactly one system under test. That has to be a class, not an interface. You may mock dependencies that may/may not be interfaces. This is safer than using concrete dependencies whose behaviors may change once the fuzzer does its thing. The behaviors of the classes that implement the mocked dependencies have nothing to do with the system under test. So if you're writing unit tests that exactly one unit, you should be good to go. |
|