allure-framework / allure-framework/allure3

Customizable test pyramid graph in allure 3

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

Description

Currently, test pyramid graph is having only 3 supported values in layer like e2e, integration, unit. It would be great if we can add some customizable values which can be supported like manual, performance etc.

const chartsConfig = defaultChartsConfig.map((chart) =>
chart.type === "testingPyramid"
? { ...chart, layers: ["manual", "integration", "e2e"] }
: chart
);

Secondly, the order of that is fixed like unit at the bottom, integration and e2e at the top. Can this be rendered based on the number of tests it has for each layer.
In the picture I don't have unit tests so I expect that section to be gone as well and I can have my own customized layer for that.

Image

Contributor guide

Open the contributing guide

Research direction

Start by locating the testingPyramid chart and defaultChartsConfig, then trace how the chart's layers and test counts are assembled. Done means callers can provide custom layer names and ordering, and layers with no tests are omitted from the rendered graph.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.