I don't always unit test my code, but when I do...

preview_player
Показать описание
I don't always unit test my code, but when I do...

I'm a huge fan of using interfaces for being able to unit test things.

Some people hate it, but it works well for the patterns I follow. I mock my dependencies out and focus on the logic inside of the method I am testing.

Now, does that mean that's the ONLY way I test? C'mon now... There's so many great ways to test!

Check out the full video:

----
📨 Sign up for my FREE email newsletter:
🗣️ Share with your network!

#softwareengineer #softwaredeveloper #developer #softwaretesting
Рекомендации по теме