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

feat(anta): Add support of CSV file export #672

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

titom73
Copy link
Collaborator

@titom73 titom73 commented May 13, 2024

Description

Add option to save tests result in CSV format when running anta nrfu table|text

Command example

anta nrfu -c anta/nrfu.yml --csv-output demo.csv --device s1-pe01 table

image

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have run pre-commit for code linting and typing (pre-commit run)
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes (tox -e testenv)

@titom73 titom73 added framework-enhancement New feature or request Anta CLI All things around CLI labels May 13, 2024
@titom73 titom73 self-assigned this May 13, 2024
@mtache
Copy link
Collaborator

mtache commented May 14, 2024

What about anta nrfu csv ? :)

@titom73
Copy link
Collaborator Author

titom73 commented May 14, 2024

What about anta nrfu csv ? :)

It means would have no output which is a bit uncommon: running tests and not seing results.

This aproach assumes that you can chose how you want to display and just save results in a CSV file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Anta CLI All things around CLI framework-enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants