question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Upload Test Attachments don't load files from jUnit format

See original GitHub issue

I have step “Publish Test Results” with “Test Result Format” - jUnit with checked checkbox “Upload Test Attachments” .

And jUnit report with “system-out” node as discribed in documentation jUnit Attachment. <testsuites> <testsuite name="Test suit" timestamp="2016-07-10" hostname="localhost" time="116.509" errors="0" tests="40" skipped="0" disabled="0" failures="0"> <testcase classname="suit" name="name" time="0.649"> <system-out> [[ATTACHMENT|./.tmp/protractor/somepage.png]] </system-out> </testcase> </testsuite> </testsuites>

But as result in Attachment no one file uploaded.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:18 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
matt-mcc1commented, Feb 26, 2019

+1

3reactions
aviatrixcommented, Jul 6, 2020

@brahimiarlinda we ended up writing small C# utility that traverses the screenshots and uploads the files via the devops api to the appropriate test run, and have it run after the publish of test results

Read more comments on GitHub >

github_iconTop Results From Across the Web

Upload Test Attachments don't load files from jUnit format #2058
The "Upload Test Attachments" uploads the xml files you point the task to. My understanding is that the ATTACHMENT syntax above is an...
Read more >
Publish attachments using JUnit format in automated build
I've got a build definition in visual studio online to run automated tests. The results are stored in a xml file in JUnit...
Read more >
Attach files from JUnit file with Publish Test Results Task
Hi, I am new using Azure devops. I am implementing a test enviroment on it. I have a CI/CD pipeline where I have...
Read more >
How to attach screenshots at Pytest JUNIT xml to appear on ...
This task will upload screenshots to test result reports from sources other than Visual Studio Test (TRX), for instance, from jUnit.
Read more >
How to attach files to test results - SpecSync Documentation
For the frameworks that do not support recording test result attachments, you can use the following workaround: Save all files to be attached...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found