You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Goals:
I have 1-3 working using a powershell script I wrote. I search for dll's named with a specific pattern, such as *Tests.dll. I pass this array into the execution of VSTest.Console, and I get a single trx file in folder named TestResults which VSTest.Console creates.
Problem 1, I can't specify the name of the trx file. I believe this can be done with a settings file, but I'm trying to have all the configuration in Bamboo so that changes don't require me branching and doing pull requests, etc.
So I'm attempting to fix this by renaming the file to result.trx and setting up a MSTest Parser. Problem is, it never finds the file.
In the MSTest Parser task, I've specified the "MSTest Test Results File/Directory" value as result.trx and TestResult\result.trx and ${bamboo.build.working.directory}\TestResults\result.trx. Unfortunately, none of it works.
FYI, I got this working by copying the result.trx file to the root bamboo build folder and removing all pathing information from the MSTest Parser task.
The error I get from the MSTest Parser task is; Could not find test result reports in the C:\Bamboo\Agent-3\xml-data\build-dir\DEV-MAS-DEV directory.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have the same error
14-wrz-2018 13:40:18 | Parsing test results under C:\TME\bamboo\xml-data\build-dir\SSMU2-SSPPGM-JOB1... |
14-wrz-2018 13:40:18 | Failing task since test cases were expected but none were found.
|
there is any solution
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.