Contact us

TDD & Unit Testing (.Net Stack)

₹150

₹500

Instructor: Samprada NLanguage: English

About the course

DAY 1

● Getting Started ○ What is Automated Testing

○ Benefits of Automated Testing

○ Types of Tests

○ Test Pyramid

○ The Tooling

○ Source Code

○ Writing Your First Unit Test

○ Testing All the Execution Tests

○ Refactoring with Confidence

○ Using NUnit in Visual Studio

○ What is Test-Driven Development

● Fundamentals of Unit Testing

○ Introduction

○ Characteristics of Good Unit Tests

○ What to Test and What Not to Test

○ Naming and Organizing Tests

○ Introducing Rider

○ Writing a Simple Unit Test

○ Black-box Testing

○ Set Up and Tear Down

○ Parameterized Tests

○ Ignoring Tests

○ Writing Trustworthy Tests

○ Developers Who Don't Write Tests


Day 2

● Core Unit Testing Techniques

○ Introduction

○ Testing Strings

○ Testing Arrays and Collections

○ Testing the Return Type of Methods

○ Testing Void Methods

○ Testing Methods that Throw Exceptions

○ Testing Methods that Raise an Event

○ Testing Private Methods

● Code Coverage

● Testing in the Real-world

○ Exercises

● Breaking External Dependencies

○ Introduction

○ Loosely-coupled and Testable Code

○ Refactoring Towards a Loosely-coupled Design

○ Dependency Injection via Method Parameters

○ Dependency Injection via Properties

○ Dependency Injection via Constructor

○ Dependency Injection Frameworks


Day 3

● Mocking Frameworks

○ Creating Mock Objects Using Moq

○ State-based vs. Interaction Testing

○ Testing the Interaction Between Two Objects

○ Fake as Little As Possible

○ An Example of a Mock Abuse

○ Who Should Write Tests

○ Exercises

● Project 

Syllabus

Meet Enlightened Thought Works

Enlightened Thought Works is a company that provides training services on cutting-edge technologes, soft-skills and vedic sciences on Mandalam science, Sound Science (Mantra Yoga), and Color Science. We have conducted trainings for several corporates and fortune 500 companies so courses are designed as per enterprise standards.

What do we offer

Live learning

Learn live with top educators, chat with teachers and other attendees, and get your doubts cleared.

Structured learning

Our curriculum is designed by experts to make sure you get the best learning experience.

Community & Networking

Interact and network with like-minded folks from various backgrounds in exclusive chat groups.

Learn with the best

Stuck on something? Discuss it with your peers and the instructors in the inbuilt chat groups.

Practice tests

With the quizzes and live tests practice what you learned, and track your class performance.

Get certified

Flaunt your skills with course certificates. You can showcase the certificates on LinkedIn with a click.

Reviews and Testimonials