Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate .html analysis file for avocado runs and update usage #329

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

misanjumn
Copy link
Contributor

Generate .html analysis file for avocado runs and update usage

  1. Generation of .html output
  • In addition to Analysis.xlsx, this patch generates Analysis.html file as output. This can be generated for new analysis (--new-analysis) as well as comparison analysis (--compare-two-results)
  • 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.
  • The summary data-structure is added to pass it as input to analysis_to_html(summary) function for displaying the number of regressions, differences and solved test-cases
  1. Remove --add-to-existing flag
  • There are many issues with this flag when it comes to both Analysis.xlsx as well as Analysis.html files generation. Much work is needed.
  • Hence, updating the readme marking it as future enhancement and removing it from the .py file.

Signed-off-by: Misbah Anjum N [email protected]

@misanjumn misanjumn force-pushed the analysis_script_html branch 3 times, most recently from a6a7fcd to f02cf11 Compare May 14, 2024 08:11
@spoorthys1303
Copy link
Collaborator

@misanjumn please provide the run logs for the changes

@misanjumn
Copy link
Contributor Author

@spoorthys1303

I am attaching the image output of the above patch since it is a .html file

Example:

python3 analysis.py --compare-two-results results1.json results2.json

Analysis.html

Analysis-html-1 Analysis-html-2

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]>
Copy link
Collaborator

@spoorthys1303 spoorthys1303 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@spoorthys1303 spoorthys1303 merged commit 666ac93 into lop-devops:master Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants