Bamboo should invoke mstests directly
Products Jira. Jira Service Desk. Interests Feedback Forum. Atlassian Cloud Migrations. Team Playbook. Atlassian logo. Training and Certification icon. Top groups groups-icon. It's not the same without you Join the community to find out what other Atlassian users are discussing, debating and creating.
Sign up for free Log in. Ariel R. Conti Mar 14, What am I doing wrong? Answer Watch. Answer accepted. Hi Ariel R. Check the option Pick up test results that were created outside of this build in the advanced section. Run another test and let us know the results you get. So, after this little problem I went on to configure the unit tests. I added a new stage for the tests to the build plan and configured a new job that would call MsTest and run the tests.
That job failed on every approach to run it. It always told me that the assembly was not found. To make a long several hours over a few days!
At the time of this evaluation there wasn't anything hinting to that in the Atlassian docs. By now, there is a small article explaining that you need to configure Artifacts to bring build results from one stage into another, but without further explaining how to set up the artifacts in detail. Back then, I tried to figure out the different directories but that required a lot of changes to my build scripts that wouldn't work on the dev machines after that, and so I put the MsTest job in the build stage to have it execute.
Guess what? After changing the build stage it wouldn't start again with the same delayed until forever problem I already had until I waited several hours when it suddenly executed.
I already mentioned that we use TeamCity at my work place. So setting up the initial project was a bit new to me, but I knew what the settings were and where I had to tune a little bit. So the initial setup of my project with two build steps build and test was done in a few minutes. Of course everything worked from the very instane I clicked on run. Then I went on to activate code coverage reports for the test build step by simply activating dotCover from a little drop down in the test build step.
After the next build I had a complete test coverage report on TeamCity. I struggled a lot with Bamboo. It has a steep learning curve and the documentation is..
A lot. The Atlassian tools in general, and Bamboo is no exception, are obviously powerful, but you have to spend a LOT of time with the system to get it running like you expect it to - and I don't want to spend too much time fiddling around with my toolset.
TeamCity on the other hand is streamlined and guides you through the process of configuring your builds. Everything I needed was set up in a matter of minutes and everything worked directly as expected from the very beginning. Actually, at this point it was clear for me to use the JetBrains tools and not Atlassians, but I still had a quick look at Jira and YouTrack, which I want to describe in a dedicated blog post.
For this I downloaded the evaluation products from the Atlassian homepage and the free installers from JetBrains. Please note the slight difference between a 'product' and an 'installer' download. Asked 7 years ago. Active 7 years ago. Viewed times. Has anyone had any luck with this? Improve this question. CSpencer CSpencer 21 3 3 bronze badges. My eventual solution was simply to use Selenium instead — CSpencer. Add a comment. How can I utilize the xxxx. I am wanting the extent report to be located at the following path.
So I can record the artifact for bamboo. If you are using Visual Studio or older,. TestSettings is the file to use. For newer versions. RunSettings is the preferred option. Note that the path to the results directory must be relative to the solution directory. More detail can be found on the Microsoft Documentation site. You could also write a script that would copy result files from a specified directory to your chosen directory, and define it as a cleanup script in the TestSettings editor.
The last option is to create a task to move the result files as you suggested in your answer. Register Login. Mstest using testsettings file on bamboo? This topic has been deleted. Only users with topic management privileges can see it.
0コメント