

Now the new aspect of snapshot dependencies is revealed. Since Test1 and Test2 do not depend on each other, TeamCity can execute these build configurations in parallel if there are build agents available. Both Test1 and Test2 have a snapshot dependency on TodoImage build configuration. We can create two build configurations, Test1 and Test2, which will execute the different groups of the tests. It would be nice to execute the groups of tests in parallel.

Suppose there are a lot of tests and running those tests sequentially takes a lot of time. We created two build configurations: one builds the application and the other builds the Docker image. Previously, we started creating the build chain for the demo application. In this blog post, we describe how snapshot dependencies enable parallel builds. In the previous blog post, we learned about snapshot dependencies and how they can be applied to create build chains in TeamCity.
