allure-framework / allure-framework/allure3

Support attachments via stdout in the JUnit XML reader

Open
#80 0 comments 0 reactions 0 assignees View on GitHub
type:new feature
Dominant language
HTML
Stars
401
Forks
58
Avg merge
2d 20h
Merged PRs (30d)
34

Description

There is a convention for attaching files to the JUnit XML report via the standard output. The file path is embedded in the `[[ATTACHMENT|]]` format:

```xml

```

The convention is supported by many CI systems ([Jenkins](https://plugins.jenkins.io/junit-attachments/), [Azure](https://devblogs.microsoft.com/devops/junit-attachments-support-for-publish-test-results/), etc).

We should support it as well.

Contributor guide

Open the contributing guide

Research direction

Locate the JUnit XML reader and trace how each testcase's system-out content is parsed. Done means recognizing [[ATTACHMENT|]] entries and handling both paths relative to the JUnit XML file and absolute paths, based on the examples in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
xml
Domain
testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.