Recommended xUnit Test Structure & Refactoring Your Code
Watch the Video
Or watch it directly on YouTube: Click here
Video Description
Refactoring is a fancy word that means "doing basic maintenance" on your code. Basically, keeping your code clean, tidy, and readable. Without automated tests, refactoring can be a risky and terrifying proposition. But when you have automated tests, it's a lot less scary.
In this video, I'll show you how you can use unit tests written in xUnit to make refactoring relatively painless.
Along the way, I'll talk about how I structure my unit test code to avoid duplication and to keep stuff readable.
Video Info
- Duration: 4:29
- Published: September 25, 2024