What's included

  • 1
    • Practical Introduction to Unit Testing
    • Practical Introduction to Unit Testing - Code
  • 2
    Assertions in NUnit
    • Basic Assertions
    • Basic Assertions - Code
    • Exception Assertions
    • Exception Assertions - Code
    • TestCase Attribute
    • TestCase Attribute - Code
    • MaxTime, TimeOut and Retry
    • MaxTime, TimeOut and Retry - Code
  • 3
    Breaking Dependencies
    • Extract and Override
    • Extract and override - Code
    • Introduce Parameter
    • Introduce Parameter - Code
  • 4
    Mocking with NSubstitute
    • Creating Stubs with NSubstitute
    • Creating Stubs with NSubstitute - Code
    • Mocking with NSubstitute
    • Mocking with NSubstitute - Code
  • 5
    Testing Asynchronous Code
    • Testing Async Code using NUnit and NSubstitute
    • Testing Async Code - Code
  • 6
    • Resources


  • Andrea Angella

    Andrea Angella

    Microsoft MVP, Senior .NET Software Engineer and .NET Community Leader

    I am a Microsoft MVP, certified C# master developer and .NET Community Leader. I am the founder of the Cambridge .NET User Group, the official community on .NET in Cambridge (UK), consisting of 500+ passionate .NET developers. I love to teach in a simple and practical way how to master C# related technologies to help you become one of the most productive C# developers in the world. I am a Senior .NET Software Engineer working at Redgate Software. My peers describe me as really enthusiastic, motivated, with an infinite passion for software development, and a relentless desire to keep learning as well as amazing ability to involve others in my pursuit of excellence.