allure2 icon indicating copy to clipboard operation
allure2 copied to clipboard

Feature request - add a way to add graphs in the graphs tab, using data from the test or CSV/TXT file

Open theshinyknight opened this issue 7 years ago • 3 comments

I'm submitting a ...

  • [ ] bug report
  • [X ] feature request
  • [ ] support request => Please do not submit support request here, see note at the top of this template.

What is the current behavior?

I would like to create a graph in the graph tab, using data coming from a CSV file. At the moment this does not seem to be possible.

Would be nice if there was a way to write a simple graph that would take data from a source like a CSV file or even a standard txt file (like an array/list of values, or a dictionary for X/Y values). Or if it was possible to mark specific variables in the test with some decorator, so these values could be used to create a graph, like the ones that the default report show.

What is the expected behavior?

That is possible to create graphs using data either from a CSV, TXT or from a decorator in the test itself

What is the motivation / use case for changing the behavior?

To add customized diagrams in the diagram area

Please tell us about your environment:

Running Python 3, Allure version 2.5.0 and allure-tools on OSX Sierra.

Allure version 2.5.0
Test framework Pytest on Python 3.6.4
Allure adaptor allure-tools for Python3
Generate report using command line tool

Other information

theshinyknight avatar Jan 19 '18 07:01 theshinyknight

+1 , It would be a great feature to let the possibility to customize graphs , just basicly a test-name to each bar in duration trends or few more legends to the graphs. Best regards.

Raklaite avatar Feb 25 '19 14:02 Raklaite

+1, we are using allure reports for every automation project, It would be great if we can attach custom graphs. Right now we are attaching graphs as an attachment but would like to add them in Graph section

javed0211 avatar Apr 14 '21 07:04 javed0211

closed as stale

baev avatar Feb 01 '24 14:02 baev