How can I do C# unit tests using Bamboo cloud?

My company is looking to switch to JIRA and Bamboo. The first solution they wanted me to look at is the cloud variant using Bamboo Elastic. After some experimenting I have managed to get solutions to build. The next step is unit testing. So far we have been using the MSTest Runner. I however cannot for the life of me get this to run on the elastic instances. Can someone give me a step by step of what I need to do to start this?

1 answer

0 vote

Hi Kim,

Atlassian provides a number of stock images that you can use with your elastic agents, and one of these is a Windows image with MSBuild (but not Visual Studio) installed, so it may be suitable for your purposes.

If you can't use the stock image, you'll need to build your own AMI and install the Bamboo remote agent software on it.

If this answer was helpful, please allow me to ask you to mark my answer as accepted in order to have it in the top of the thread, also helping other customers.

Thanks in advance!

Kind regards,
Felipe Kraemer

As I already mentioned in the first post., building is not the problem. MSBuild works as intended though it took some tweaking. The problem is in the unit tests. As mentioned this requires MSTest. I have thus far managed to get the AWS to run an MSTest instance but so far it will not run the actual tests. This is the part that I need help with.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Renan Battaglin
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,321 views 0 5
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