Introducing Test Driven Development in C# [Video]

Preview in Mapt

Introducing Test Driven Development in C# [Video]

Nikola Živković
New Release!

Learn how to use TDD in everyday work and write high-quality code
Mapt Subscription
FREE
$29.99/m after trial
Video
$10.00
RRP $124.99
Save 91%
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$10.00
$29.99 p/m after trial
RRP $124.99
Subscription
Video
Start 14 Day Trial

Frequently bought together


Introducing Test Driven Development in C# [Video] Book Cover
Introducing Test Driven Development in C# [Video]
$ 124.99
$ 10.00
Learn C# in 7 days [Video] Book Cover
Learn C# in 7 days [Video]
$ 124.99
$ 10.00
Buy 2 for $20.00
Save $229.98
Add to Cart

Video Details

ISBN 139781788292092
Course Length2 hours and 50 minutes

Video Description

Even after so many years, TDD is still one of the main buzzwords at almost every conference. This technique has proven itself to be one of the best practices out there when it comes to writing maintainable, robust, and testable code. This course covers key concepts, methods, and patterns behind TDD through concrete and practical examples in C# 7.

This course starts off with an introduction to unit tests and unit test frameworks. Basically, you will learn how to write and automate tests for your implementations. After that, we shift the paradigm and see how to write your tests before implementation itself. We explore how to add full test support to our projects, as well. Through practical examples you will witness how this technique helps us write higher-quality code. In the final sections of this course, you will learn proven methods and patterns for writing modular and testable code. The principles of TDD will help you write better and cleaner code. In addition, you’ll see how solid tests give you a new sense of confidence when you need to modify existing code, refactor, and add new features.

By the end of this course, you will have the tools you need to start building bulletproof applications, backed by an automated suite of tests to ensure quality software delivery.

The code bundle for this video course is available at - https://github.com/PacktPublishing/-Introducing-Test-Driven-Development-in-C-

Style and Approach

Learn TDD and best practices for writing testable code from practical examples.

Table of Contents

Learn How Your Software Works with Test Automation
The Course Overview
Exploring Test Automation
Types of Automation Tests
Implementing Automation Frameworks in .NET
Automated Testing Demonstration with an Example
TDD – The Workflow to Bulletproof Your Code
Understand TDD with an Example
TDD Versus Traditional Testing
Development Cycle of TDD
Adding Test Support to a .NET Project
Creating the Test Project in Visual Studio
Creating the Test Project in Visual Studio Code
Using Patterns for Arranging and Formatting Code
Dive into Continuous Testing and Code Coverage
The Art of Writing Testable Code
Testable Code and Single Responsibility Principle
Anti-Pattern - Singleton Pattern
Anti-Pattern - The new Operator
Anti-Pattern - Static Methods
Testing Modular Code Via Mocking
Introduction to Mocking
Manually Mocking Interfaces
Using Moq Framework
Modularizing Code and Inversion of Control
Dependency Inversion Principle and Inversion of Control
Factory Method Design Pattern and Abstract Factory Design Pattern
Using Delegate Types
Dependency Injection Pattern – The Holy Grail of Modular Design
Dependency Injection
Dependency Injection Patterns
Dependency Injection Containers
Composition Root
Concrete Examples of Common Abstractions
Repository Pattern Introduction
Repository Pattern Implementation
Service Layer

What You Will Learn

  • How to test your code using unit tests and unit test frameworks
  • How to add test support to your project
  • Explore the essentials of TDD
  • How to write testable and maintainable code
  • Understand why SOLID principles are important for testing
  • Learn which anti-patterns should be avoided
  • Learn what mocking is and how to use mocking frameworks
  • Understand the selection of design patterns

Authors

Table of Contents

Learn How Your Software Works with Test Automation
The Course Overview
Exploring Test Automation
Types of Automation Tests
Implementing Automation Frameworks in .NET
Automated Testing Demonstration with an Example
TDD – The Workflow to Bulletproof Your Code
Understand TDD with an Example
TDD Versus Traditional Testing
Development Cycle of TDD
Adding Test Support to a .NET Project
Creating the Test Project in Visual Studio
Creating the Test Project in Visual Studio Code
Using Patterns for Arranging and Formatting Code
Dive into Continuous Testing and Code Coverage
The Art of Writing Testable Code
Testable Code and Single Responsibility Principle
Anti-Pattern - Singleton Pattern
Anti-Pattern - The new Operator
Anti-Pattern - Static Methods
Testing Modular Code Via Mocking
Introduction to Mocking
Manually Mocking Interfaces
Using Moq Framework
Modularizing Code and Inversion of Control
Dependency Inversion Principle and Inversion of Control
Factory Method Design Pattern and Abstract Factory Design Pattern
Using Delegate Types
Dependency Injection Pattern – The Holy Grail of Modular Design
Dependency Injection
Dependency Injection Patterns
Dependency Injection Containers
Composition Root
Concrete Examples of Common Abstractions
Repository Pattern Introduction
Repository Pattern Implementation
Service Layer

Video Details

ISBN 139781788292092
Course Length2 hours and 50 minutes
Read More

Read More Reviews

Recommended for You

Learn C# in 7 days [Video] Book Cover
Learn C# in 7 days [Video]
$ 124.99
$ 10.00
Practical Test-Driven Development using C# 7 Book Cover
Practical Test-Driven Development using C# 7
$ 39.99
$ 10.00
Data-Driven Testing in Selenium [Video] Book Cover
Data-Driven Testing in Selenium [Video]
$ 124.99
$ 10.00
Test Driven Web Application Development with Ember [Video] Book Cover
Test Driven Web Application Development with Ember [Video]
$ 124.99
$ 10.00
Maven Tutorial - Manage Java Dependencies in 20 Steps [Video] Book Cover
Maven Tutorial - Manage Java Dependencies in 20 Steps [Video]
$ 192.99
$ 10.00
Machine Learning with Core ML in iOS 11 [Video] Book Cover
Machine Learning with Core ML in iOS 11 [Video]
$ 124.99
$ 10.00