aristanetworks / anta

What do you call an ant with frogs legs?
https://anta.arista.com/
Apache License 2.0
51 stars 26 forks source link

feat(anta): Add Markdown report option to ANTA #740

Closed carl-baillargeon closed 2 months ago

carl-baillargeon commented 4 months ago

Description

Added _results_per_status as a cached property to fetch results faster.

anta nrfu md-report --md-output ./anta_md_report.md
anta nrfu md-report --md-output ./anta_md_report.md --only_failed_tests

image

Fixes # (issue id)

Checklist:

titom73 commented 4 months ago

We should discuss how we want to add new outputs to make it consistent across multiple PRs

Linked to PR #672

mtache commented 4 months ago

I don't think this PR requires #649 since it is not about refactoring the ANTA Runner. You can still benchmark CLI output options if you want to improve their performances but this PR introduces a new format so nothing to be compared with.

github-actions[bot] commented 4 months ago

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] commented 4 months ago

Conflicts have been resolved. A maintainer will review the pull request shortly.

github-actions[bot] commented 3 months ago

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] commented 3 months ago

Conflicts have been resolved. A maintainer will review the pull request shortly.

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

Measures
0 Security Hotspots
98.5% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud