Azure DevOps, Scrum, & .NET Software Leadership and Consulting Services

Free course! Predicting the Future, Estimating, and Running Your Projects with Flow Metrics

Slides & Code from VSLive Austin 2018: “Unit Testing for Mere Mortals”


I just wrapped up my talk at VSLive Austin 2018 — “Unit Testing & Test-Driven Development (TDD) for Mere Mortals”.  Thanks to all the attendees for the great questions.

As promised, here are my slides and code samples.

Unit Testing & Test-Driven Development (TDD) for Mere Mortals

Unit Testing and Test-Driven Development (TDD) arguably mean the same thing.  They (both describe a way of developing software so that you always know whether or not it’s working.  You write little chunks of code (unit tests) that verify the objects and methods in your application’s code and it helps you make sure that you have PROOF that your code works.  It also makes your code easier to maintain and easier to refactor.  Plus, while it might not feel like it right away, writing using tests makes your development process go a lot faster.

In this session, Ben will discuss what unit testing & TDD are all about, why you should care, and how to do it with C# and ASP.NET MVC.  Along the way, expect to hear about “designing for testability” and some really helpful testability design patterns like the Strategy, Repository, and Adapter patterns.

Code Samples

Slides

-Ben

 

— Looking for training for you and your team on Unit Testing & Test-Driven Development (TDD)?  Trying to figure out how to make your untested and untestable code a lot more testable?  Trying to figure out the right balance between automated tests and human QA testing in your DevOps process?  We can help.  Drop us a line at info@benday.com.

SUBSCRIBE TO THE BLOG


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.