I currently have CI running via Teamcity. My automated tests are Specflow with NUnit as the generated code behind. I have BeforeTestRun hooks to log test information. The NUnit build step is using the NUnit runner from Teamcity. I've tried using command line and nunit-console however my team likes the ability to be able to see failing tests on the fly (these tests take about 15 minutes to run and being able to see failures early is beneficial).
In Teamcity the tests are run with a dependency on another build project. We get the artifacts from the build project and run the tests against them.
Is it possible to pass the version from the build project dependency to the test project and then I can write that information via my BeforeTestRun method?
Thanks for any tips or advice you may have.