Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
ASP.NET Core: Test-Driven Development

ASP.NET Core: Test-Driven Development

37mIntermediate2017-07-27

Authors

Richard Rout

Richard Rout

Software Developer

Course details

Get practical, hands-on experience implementing test-driven development of ASP.NET Core applications. Apps developed with a solid testing strategy are cleaner, more flexible, and easier to change on the fly. This course provides developers with the baseline knowledge of TDD so they can iterate through both new and existing code. Instructor Richard Rout introduces some helpful tools for ASP.NET Core testing, including Visual Studio, ReSharper, and the xUnit and Mock frameworks. Then he covers concepts such as dependency injection and version control, and shows how to set up a web app for testing. Finally, he walks through the red-green-refactor test cycle, including writing failing and passing tests, running tests, and refactoring code to improve quality.

Note: Examples in this course were developed using C# ASP.NET Core, but the concepts apply to all .NET Core applications.
Learning objectives

Getting the TDD tools
Testing cases
Refactoring code
Completing test cases
Testing changes in untested code
Changing code

Skills covered

ASP.NET CoreSoftware TestingBack-End Web DevelopmentDevOps FoundationsFull-Stack Web DevelopmentFront-End Web DevelopmentDevOpsWeb DevelopmentMicrosoftSoftware DevelopmentDeep Dive (X:Y)

Concepts

0. Introduction

  • 01 - Welcome
  • 02 - What you should know
  • 03 - Using the excercise files

1. Get Started with TDD in ASP.NET Core

  • 04 - TDD and tools
  • 05 - Dependency injection and IoC
  • 06 - Configure the app for testability

2. Write Tested Code

  • 07 - Test base case
  • 08 - Test N+1 case
  • 09 - Refactor code and tests
  • 10 - Complete test cases
  • 11 - Finish and run the app

3. Test Changes in Untested Code

  • 12 - TDD in untested code
  • 13 - Make untestable code testable
  • 14 - Confidently change your code, part 1
  • 15 - Confidently change your code, part 2
  • 16 - Refactor existing code

Conclusion

  • 17 - Next steps

Related courses

Related learn paths

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
zarinpal
zibal