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

This widget could not be displayed.

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

170 views 1 3
Join discussion

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