Session

Unit Tests Are Code Too!

Creating meaningful unit tests can be a challenge. You not only need to figure out what needs to be tested, but you also have to figure out how to test it. You have to walk the delicate line of testing a specific case without making it so brittle that it easily breaks.

As challenging as writing unit tests can be, understanding them later can be even more difficult. The old adage that we read our code several times more than we write it hold true with unit tests.

Making unit test easier to write and easier to understand later don't have to be in conflict. At the end of the day, unit tests are just code. And just like other areas of your code there are patterns that you can use to help you simplify writing tests while also increasing readability.

By the end of this talk, you'll learn several various patterns and strategies for creating better unit tests. These patterns will not only ensure you're creating quality tests, but that you & your team can understand what you were testing when you read them later.

Nate Taylor

Director of Engineering - Pluralsight

Omaha, Nebraska, United States

View Speaker Profile

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top