michael-nelson.co.ukSingleton Pattern with TestContainers and SQL Server in C#When working with web services there is often data access which could benefit from some level of coverage in integration tests. That means re-creating our storage, whatever that may be, in our tests. A key consideration with how we create our storage...Dec 7, 2023·3 min read
michael-nelson.co.ukExploring Custom Attributes in AutoFixture and xUnitWriting setup code for unit tests can be a cumbersome activity. Especially in legacy codebases where many tests may be missing, or unreliable, or when the unit being tested is larger than it would be given sufficient time and resources to refactor it...Sep 20, 2023·4 min read