.NET Core and xUnit: Making Unit Tests Look So Much Better with Some Basic Refactoring
scarbrough.substack.com
The following is the structure of the typical xUnit test method I started with, and it's something I've seen a few other developers do also: [Fact] public void TestComputerSearch() { List<Computer> mockComputers = new List<Computer>() { new Computer()
.NET Core and xUnit: Making Unit Tests Look So Much Better with Some Basic Refactoring
.NET Core and xUnit: Making Unit Tests Look…
.NET Core and xUnit: Making Unit Tests Look So Much Better with Some Basic Refactoring
The following is the structure of the typical xUnit test method I started with, and it's something I've seen a few other developers do also: [Fact] public void TestComputerSearch() { List<Computer> mockComputers = new List<Computer>() { new Computer()