Skip to content

Commit

Permalink
Generate .html analysis file for avocado runs (lop-devops#329)
Browse files Browse the repository at this point in the history
In addition to Analysis.xlsx, this patch generates
Analysis.html file as output. This can be generated
for new analysis as well as comparison analysis.

The Analysis.xlsx file is converted to Analysis.html
file and both the outputs are generated. This .html
file can be used to display the summary of the avocado
based results in a web page for a dashboard based view.

This .html output has filter table drop downs as an
enhancement to the .xlsx output. This filter can be used
for further breaking down of the results.

Signed-off-by: Misbah Anjum N <[email protected]>
  • Loading branch information
misanjumn authored Aug 30, 2024
1 parent 73401f2 commit 666ac93
Show file tree
Hide file tree
Showing 2 changed files with 315 additions and 17 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ So, if such tests are identified and need to be "not run" for a particular envir
-----

### Analysis of results:
analysis.py script is used to simplify analysis/comparison of avocado test runs by generating an excel file (.xlsx) of the same. The results.json file which gets created after avocado run, is passed as input in command line. Depending on the flag/options provided, the excel sheet will be generated.
analysis.py script is used to simplify analysis/comparison of avocado test runs by generating excel and html files (.xlsx and .html) of the same. The results.json file which gets created after avocado run, is passed as input in command line. Depending on the flag/options provided, the excel sheet will be generated.

> `$ python3 analysis.py [--options] [input(s)]`
Expand All @@ -316,7 +316,9 @@ analysis.py script is used to simplify analysis/comparison of avocado test runs
> `$ python3 analysis.py --new-analysis [json_file]`
2. `--add-to-existing`:
> This flag is used to append new results.json dat to an already existing excel file. This flag can be used to compare new runs with the previous runs so that we can have our own analysis.
> Work in Progress (Future Enhancement)
> This flag is used to append new results.json data to an already existing excel file. This flag can be used to compare mutliple new runs with the previous runs so that we can have our own analysis.
> `$ python3 analysis.py --add-to-existing [xlsx_file] [json_file]`
Expand Down
Loading

0 comments on commit 666ac93

Please sign in to comment.