Tag Archives: testing

Unit tests: What, why, where and when?

Working on big projects with big code base composed mainly of “legacy code“, developer’s biggest fear is to introduce something new that might actually break something old. This fear freezes the project with some pieces of code that remain like engraved in stone because nobody wants to touch them. The… Read more »

Unit Tests with Dependency Injection

      1 Comment on Unit Tests with Dependency Injection

A few weeks back I wrote an article on dependency injection and how to use it. Here I’ll cover how to use dependency injection in your unit tests. Dependency Injection I won’t talk a lot about dependency injection in this article, there’s a whole article on the subject, and I… Read more »