c# - Unit testing - test class inheritance vs single test ...
codereview.stackexchange.com › questions › 44861Which unit testing approach and WHY do you prefer? public class GivenSynchronizedDataLink : TestBase { internal SynchronizedDataLink Subject { get; private set; } protected Mock<IDataLink> DataLinkFake { get; private set; } protected Mock<IAutoReaderWriterLock> ReaderWriterFake { get; private set; } private Fixture fixture; protected override void Setup () { fixture = new Fixture (); ReaderWriterFake = new Mock<IAutoReaderWriterLock> (); DataLinkFake = new Mock<IDataLink> (); } ...