Where can I get more information on running tests in parallel in .Net

I saw in the documentation that it was possible to run automated tests in parallel with Bamboo but I didn't see any information about how to set this up for .Net. For example, I don't understand how you would organize the tests into batches. I saw that in Java this is dependent on a 3rd party testing tool. I was wondering how this works in .Net.


1 answer

Stages run sequentially, jobs inside of stage can run in parrallel in the resources (local agents) are available, tasks in side of jobs run sequentially.

Here is an example layout

Stage 1 - Build - Has one job - job can have multiple tasks

Stage 2 - Test - Has x jobs each run a unique set of tests

Depending on how you implement the test batches you make want a third stage to display the tests. If you simply have different jobs for a list of tests or different categories then you could run the test task; if you used something like powershell to evenly divided your tests to your x # of jobs then you will write to a .trx or likewise file and will probably want to third stage to display the test results.

Stage 3 - Display Tests - Has one job - Optional task to combine results then one task to display or x task to display x # of results.

Stage 4, etc. Deploy, Archive, etc. whatever you want to follow tests. Optional of course.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,561 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you