6 Tips for Better Unit Test Names from DevChatter

Channel:
Subscribers:
2,820
Published on ● Video Link: https://www.youtube.com/watch?v=Dfhedd9Otl4



Duration: 6:09
125 views
10


In this episode of DevChatter, Brendan goes through some tips for how you can improve the names of the unit tests that you and your software development team creates.

This video shows examples in C#, but applies across languages.

0:00 - Intro

0:20 - Describe What You're Testing

1:30 - Put Feature Name in the Class Name

2:24 - Use Underscores

3:04 - Enforce a "Should" Standard

3:59 - Test Cases to Simplify Names

5:19 - Get Team Agreement

5:48 - Outro

Watch live at https://www.twitch.tv/devchatter

Chat with us on Discord - https://discord.gg/aQry9jG

Contribute on GitHub - https://github.com/DevChatter/

Support DevChatter through Patreon - https://www.patreon.com/DevChatter

Follow Brendan on Twitter - https://twitter.com/brendoneus

Brendan's Pluralsight Courses - https://www.pluralsight.com/authors/brendan-enrick







Tags:
Programming
Software Development
Unit Testing
C#