Unit Testing 101: From Zero to Hero

$0+
0 ratings

Do you want to start writing unit tests? But, you don't know where to start? This is the ebook for you!

About this ebook?

"That's a lot of code to write!" and "I don't have time to write more code."

Those are two objections I've heard to start writing unit tests. I won't try hard to sell the concept. But, if you're afraid of making changes because you don't know what else you might break, you better off writing unit tests.

Who is this ebook for?

If you're a beginner or a seasoned developer new to unit testing, this is the place for you. You only need to know how to work with strings in C# and create projects inside a solution with Visual Studio. That's it!

In "Unit Testing 101," you'll learn:

  • What unit testing is and why you should write unit tests
  • How to write your first unit tests with C# and MSTest using Visual Studio 2019/2022
  • Four common mistakes when writing unit tests for the first time
  • Five naming conventions to better name your unit tests

Who isn't this ebook for?

If you know how to write unit tests with MSTest or NUnit following a naming convention, check my Mastering C# Unit Testing with Real-world Examples course instead. You will find more advanced concepts like builders and object mothers, fakes and mocks, auto-mocking, and other best practices.

What is inside?

You will find three chapters covering how to write your first unit tests. Also, you will find a cheatsheet with the most common MSTest assertion methods, a checklist with best practices to write your tests, and, lastly, my notes from "The Art of Unit Testing," a great book on the subject.

Get your copy of "Unit Testing 101"!

Don't wait any longer. Click the "I Want This" button and start writing your first unit tests in C# with MSTest!

If you'd like to donate a coffee ☕️ I'll take it!

$
I want this!
16 downloads
Chapters
4
Size
2.13 MB
Length
30 pages
Copy product URL
$0+

Unit Testing 101: From Zero to Hero

0 ratings
I want this!