I have a TeamCity build configuration that builds some code (several projects) and then runs their NUnit tests. Currently, I have to specify the test assemblies in the "Run tests from" section of the build step.
Is there any way of passing in the name of a file that is checked into source control that contains this list?
The reason I ask this is that we typically work with several branches. When someone branches the (trunk) code branch, they set up a new TeamCity build project for their branch. If they add a new (code) project on this branch that has tests, they will add this new assembly name to the TeamCity build configuration. When the branch gets merged back into trunk, they will remove their TeamCity build project, but it is easy to forget that as part of the merge process they must also now edit the TeamCity build configuration for the trunk to add the new assembly to it. If we could get the list of assemblies from a file that is part of source control, this file will get merged along with the code and its changes will then get picked up automatically in the trunk.