Blog Archives

Getting started with CPPUnit

Unit testing is beneficial for every software project, even randomized algorithms like metaheuristics and genetic algorithms. I want to just stress one benefit, unit testing encourages developers to write code with minimal dependencies, just because otherwise tests are hard to write. The fact that slows development velocity in terms of features per time unit is the increase in interactions between various features. The n+1 feature added may interact with n already available features in many ways. These n+1 features have n2 possible interactions. When dependencies are limited, possible feature interactions are also limited and the project complexity stays under control. Read the rest of this entry