MNMichael Nelsoninmichael-nelson.co.uk·May 17 · 7 min readTest Independence💻 Just show me the code. In this article I cover some of the mechanics of how we can improve test independence, while managing the tradeoffs in complexity. Before that, let's recap why we should pu00
MNMichael Nelsoninmichael-nelson.co.uk·Dec 7, 2023 · 3 min readSingleton 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...00
MNMichael Nelsoninmichael-nelson.co.uk·Sep 20, 2023 · 4 min readExploring 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...00