
Clean Code – How to Write Amazing Unit Tests
Coding Blocks
00:00
How to Write a Unit Test in Visual Studio
In visual studio, you have three little drop downs. The middle one will allow you to quickly drop between the classes inside of that class. And then the far right one will allowYou to go between methods. In this way, you can immediately a, just looking at the the names, you can get an idea. Just seeing the method named, you already had an idea. I think it gives it a real clean, a way to reason about your unit tests especially. So igo is going to include a very skeletal version of what i'm talking about, m in my as to how i would structure this.
Transcript
Play full episode