Conducting automation tests of two TeamCity agents in parallel

We use TeamCity with MsTest to manage and run a set of automation tests for front-end testing of a WPF application.

Currently, the test suite is running on one specialized test agent (where TC is installed), and now I am at the stage where I need to significantly reduce the total time spent on launching. I want to do this by adding another test agent to run tests in parallel.

My test scripts are large, so I split them into about 4 Specflow function files that run sequentially. All of these test cases are also classified by their functional areas.

First: Is it possible to configure TeamCity so that one test agent controls the sending of tests for each test agent? And then compile all the results at the end!

Secondly: And at the same time, to group the tests that need to be performed sequentially?

+6
source share
1 answer

I decided to use two separate project configurations in my TC setup. Each project points to a different test agent using the Agent Requirements step. And I just divided the categories of tests (which I installed in my test scripts anyway) for each project (half and half).

Pro: Simple solution and easy maintenance

Con: Results for each assembly are separated in TC

+1
source

Source: https://habr.com/ru/post/969988/


All Articles