19 Testing

What’s In This Chapter?

  • Unit Tests with MSTest and xUnit
  • Using the Fakes Framework
  • Creating Tests with IntelliTest
  • Using xUnit with .NET Core
  • Coded UI Testing
  • Web Testing

Wrox.com Code Downloads for This Chapter

The wrox.com code downloads for this chapter are found at www.wrox.com/go/professionalcsharp6 on the Download Code tab. The code for this chapter is divided into the following major examples:

  • Unit Testing Sample
  • MVVM Sample
  • Web Application Sample

Overview

Application development is becoming agile. When using waterfall process models to analyze the requirements, it’s unusual that you design the application architecture, do the implementation, and then find out two or three years later that you built an application that is not needed by the user. Instead, software development becomes agile with faster release cycles, and early participation of the end users. Just have a look at Windows 10: With millions of Windows insiders who give feedback to early builds, updates happen every few months or even weeks. There was one special week during the Beta program of Windows 10 when Windows insiders received three builds of Windows 10 within one week. Windows 10 is a huge program, but Microsoft managed to change development in a big way. Also, if you participate in the open-source project of .NET Core, ...

Get Professional C# 6 and .NET Core 1.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.