Skip to content
Krystian Czaplicki

Krystian Czaplicki

Software craftsmanship blog

  • Unit tests code smells
  • Roadmap for unit tests
  • Books
  • About

Unit tests code smells

Unit tests code smells – Test code duplication

12-10-2021 by Krystian Czaplicki

I would bet that everyone has duplicated the test code at least once in their career. The problem is even more common when we decide to write tests at the very end and therefore spend less time on them. On top of that, there is a common belief that tests are not production code and … Read more

Categories Unit tests code smells Tags c#, code duplication, code smells, refactoring, Unit tests 1 Comment

Unit tests code smells – Interacting Tests

03-10-2021 by Krystian Czaplicki

Interaction between unit tests is a problem that sometimes sneaks in between our tests and goes unnoticed there for a long time. Once we add another test and unexpectedly tests that were previously green change to red, even though we are sure that we didn’t break anything that could cause that. To make it worse, … Read more

Categories Unit tests code smells Tags c#, code smells, refactoring, Unit tests 1 Comment

Newsletter

Social

Facebook
Twitter

Recent Posts

  • Do you know when unit tests start to be integration tests? I bet you will be surprised!
  • Unit tests code smells – Test code duplication
  • Unit tests code smells – Interacting Tests
  • Dive Into Refactoring from refactoring.guru – Review
  • Unit tests fundamental topics part 2

Categories

  • Dev story
  • General
  • Review
  • Unit tests
  • Unit tests code smells

Archives

  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
© 2022 Krystian Czaplicki • Built with GeneratePress