site image
Andrew Lock avatar

Andrew Lock

xUnit
  1. Loading...
  2. Sponsored by Nick Chapsas—Want to learn how to build elegant REST APIs in .NET? Get 5% off Nick's latest course "From Zero to Hero: REST APIs in .NET"!

    From Zero to Hero: REST APIs in .NET
  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 Serializing a PascalCase Newtonsoft.Json JObject to camelCase

    Serializing a PascalCase Newtonsoft.Json JObject to camelCase

    In this post I describe one of the quirks of serializing a JSON.NET JObject, and show how to get camelCase names from a PascalCase JObject.…

     in  ASP.NET Core Model Binding xUnit
  5. 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 Core Testing xUnit
  6. 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 Core Testing xUnit
  7. 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 Core xUnit
  8. Banner image for Fixing the error "Program has more than one entry point defined" for console apps containing xUnit tests

    Fixing the error "Program has more than one entry point defined" for console apps containing xUnit tests

    In this post I'll describe how to fix the error "Program has more than one entry point defined" when you try and make a .NET Core test project a console app…

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