Description
Course info
Rating
(82)
Level
Beginner
Updated
May 5, 2017
Duration
2h 2m
Description

Testable code is code that makes automated testing quick, easy, and enjoyable. In this course, Writing Testable Code, you'll learn how to write code that is easy to test. These skills are necessary to refactor code that is difficult to test into code that is easily testable. First, you'll be introduced to testable code, and how creating seams in your code makes code testable. Next, you'll learn a series of best practices that makes testing code easier such as, simplifying object construction, working with dependencies, and managing application state. Finally, you'll explore best practices further by walking through a code demo of each practice so you can see first-hand how they're implemented. These skills will make practices like unit testing significantly easier for you. By the end of this course, you'll have the skills necessary for writing testable code.

About the author
About the author

Matthew is a data science consultant, author, and international public speaker. He has over 17 years of professional experience working with tech startups to Fortune 500 companies. He is a Microsoft MVP, ASPInsider, and open-source software contributor.

More from the author
Data Science: The Big Picture
Beginner
1h 9m
15 Sep 2017
Data Science with R
Beginner
2h 30m
25 Oct 2016
More courses by Matthew Renze
Transcript
Transcript

Hi, I’m Matthew Renze, with Pluralsight, and welcome to Writing Testable Code. Testable code is code that makes automated testing easy.

Unfortunately, most developers never learn how to write code for testability... so they struggle with software practices like unit testing and test-driven development.

However, learning how to write code that is easy to test... is the first step to making automated testing quick, easy, and even enjoyable.

As an overview of this course:

  1. First, you’ll learn about testable code... and how creating seams in our code... makes our code testable
  2. Then you’ll learn a series of best practices that make testing code easier, such as: simplifying object construction, working with dependencies, and managing application state.
  3. For each of these practices, we’ll walk through an open-source demo application that applies these practices, so you can see, first-hand, how they are implemented

By the end of this course, you’ll have the skills necessary to write code that is easy to test.

In addition, practices like unit testing and test-driven development will become significantly easier... because you’ll have a deep understanding of what makes code testable vs. what makes code difficult to test.

As an introductory course, there are no prerequisites for this course.

However, having basic experience with at least one c-like programming language and unit testing... will be beneficial, but is not required.

I’ll walk you through everything you’ll need to know as we progress throughout this course.

So please join us today at Pluralsight and learn how to create code that is easy to test with Writing Testable Code.