site image
Andrew Lock avatar

Andrew Lock

Testing
  1. Loading...
  2. Sponsored by Dometrain Courses—Get 30% off Dometrain Pro with code ANDREW30 and access the best courses for .NET Developers

    30% off with code ANDREW30 on Dometrain Pro
  3. ASP.NET Core in Action, Third Edition

    My new book ASP.NET Core in Action, Third Edition is available now! It supports .NET 7.0, and is available as an eBook or paperback.

  4. Banner image for Should you unit-test API/MVC controllers in ASP.NET Core?

    Should you unit-test API/MVC controllers in ASP.NET Core?

    In this post I discuss unit testing of API/MVC controllers in ASP.NET Core and some of the difficulties you face.…

     in  ASP.NET CoreTestingMVC
  5. Banner image for Converting integration tests to .NET Core 3.0

    Converting integration tests to .NET Core 3.0

    Upgrading to ASP.NET Core 3.0 - Part 5

    In this post I discuss the changes required to upgrade integration tests that use WebApplicationFactory or TestServer to ASP.NET Core 3.0.…

  6. Banner image for Running smoke tests for ASP.NET Core apps in CI using Docker

    Running smoke tests for ASP.NET Core apps in CI using Docker

    In this post I'll describe how to use Docker to run a smoke test as part of a CI build pipeline to check that an ASP.NET Core app is able to start up…

     in  ASP.NET CoreDockerDevOpsTesting
  7. Banner image for Creating strongly typed xUnit theory test data with TheoryData

    Creating strongly typed xUnit theory test data with TheoryData

    In this post I show how you can create strongly-typed data for your xUnit theory tests using the TheoryData class, instead of using IEnumerable<object[]>.…

     in  .NET CoreTestingxUnit
  8. Banner image for Creating a custom xUnit theory test DataAttribute to load data from JSON files

    Creating a custom xUnit theory test DataAttribute to load data from JSON files

    In this post I'll show how you can create a custom implementation of an xUnit DataAttribute that loads the data for theory tests from JSON files.…

     in  .NET CoreTestingxUnit
  9. Banner image for Creating parameterised tests in xUnit with [InlineData], [ClassData], and [MemberData]

    Creating parameterised tests in xUnit with [InlineData], [ClassData], and [MemberData]

    In this post I describe how to create parameterised tests using xUnit's [Theory], [InlineData], [ClassData], and [MemberData] attributes.…

     in  Testing.NET CorexUnit
Andrew Lock | .Net Escapades
Want an email when
there's new posts?