, NDepend, "" , .
- . , IImmutable, NDepend , - , , :
WARN IF Count > 0 IN SELECT TYPES WHERE
Implement "MyCompany.MyAssemblies.Dto.IImmutable" AND
!IsImmutable
, .
Obviously, this is actually not a unit test. However, it can be integrated as part of your assembly, and you cannot build it in the same way as unit test, so I thought I mentioned it!
See here for more information on what he actually does and how.
source
share