It's our 2nd Birthday! 🎉
Everything 40% off with code BIRTHDAY2! (Excl. Team and VS Pro)
00
Days
00
Hrs
00
Min
00
Sec
Get 40% off anything!

Writing Testable Code in C#

Workshop description

Tests are essential but seem hard. Don't worry, they don't have to be. This workshop focuses on the foundation that makes writing Unit Tests easy and enjoyable. You'll learn practical techniques to transform difficult-to-test code into naturally testable components, making writing tests more effective and less frustrating. By the end of this online workshop, you'll not only write but also refactor code into testable code. If you're new to testing or have been struggling with difficult-to-test codebases, you'll learn the skills to write simple, modular code that's test-ready from day one.

Gui teaching at a conference

Curriculum

Why your code is hard to test (and how to fix it)

Defining explicit behaviours

Designing components with narrow, focused responsibilities

Creating effective dependency injection

Isolating dependencies and breaking problematic dependency chains

Minimising side effects

Making time-dependent code testable

Taking control of external dependencies

Practical techniques for refactoring untestable legacy code into testable components

Common obstacles and their solutions

Workshop Info

Location:
Online Workshop
Duration:
2 days (16 hours)
Date:
27-28 May 09:00-17:00 UTC
Rating (1K+):
star

Includes 1-year of Dometrain Pro for FREE

Buy Ticket

Target audience

Do you find unit testing painful and time-consuming? If so, this Workshop is for you. If you have built C# .NET applications and have written unit tests in the past, you know all that's needed.

Requirements

- Your favourite IDE (Visual Studio, JetBrains Rider, VS Code)

- .NET 9 installed

- Docker Desktop (no need for Kubernetes to be installed)

- Git

- GitHub.com Account

About the Author

author_img

Gui Ferreira

Guilherme Ferreira, also known as Gui, is a Minimalist Software Craftsman, passionate about simplicity and continuous learning. Gui is a Microsoft MVP for Developer Technologies, a Tech Speaker, a YouTuber, and a .NET content creator. With over 15 years of experience in software development, Gui went from Startups to Tech Giants. Along his journey, he got to know several hats, including Software Engineer, Architect, CTO, and Developer Advocate, gathering a diverse and invaluable skill set.

More courses by Gui Ferreira