I am working on a big solution with 60 builds. There are many assemblies that define the common parts for the solution, and then several nodes of the entry point into the system.
TDD is almost impossible at the moment, because changing one line in the layer with the smallest domain forces to rebuild almost the entire solution, since the test assembly refers to different levels of the solution.
What is the best practice to reduce build time from the current 75 seconds to a more acceptable 5 seconds or so? This will do TDD again.
When performing unit tests, some classes require layouts defined by interfaces from other assemblies, and as such should be specified in the test assembly. Therefore, having a single reference to other assemblies is not always possible, with the exception of the lowest level solution.
performance c # tdd compilation
Hendrik
source share