Compare test results of two different builds
Hi all,
I'm new to team city and managed to pull up building the project I'm working on and also run tests.
My question is what is the right way to perform a build on two different git branches, run a specific test or task on both builds and compare their results?
Some info about my env:
Working on a .Net framework project on windows, using visual studio 2017 with MS Test (although tests in team city are actually running on VS Test), using git as a VCS.
Thanks!
Please sign in to leave a comment.
Hi Liran,
I'm afraid that the ability to compare builds between two different branches is very limited. Could you be more specific in terms of what you want to compare? If you access a build result and check its tests, you can hover over the small triangle and check any given Test's history to see its runs through multiple runs including multiple branches.
Hi Denis,
Thanks for replying.
My specific task is to run a single test on two separate builds, differ by version (i.e. git brunch), and compare its results. The builds must run in parallel as the test comparator is waiting for inputs from both builds.
I'm not sure what exactly do you suggest, can you please elaborate a bit more?
Thanks!
Hi Liran,
Running builds in parallel requires multiple build agents, but they can run in the same machine. Once you have at least two build agents, simply run the two builds at the same time, the first will be assigned more or less randomly to one of the available agents (the one to answer first), and the other one will be assigned to a different agent.
Information on how to do it, here: https://confluence.jetbrains.com/display/TCD10/Setting+up+and+Running+Additional+Build+Agents