-
You must be signed in to change notification settings -
feat(anta): Implement AntaTest Abstract class for test definition #173
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
Conversation
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
d1612ac
to
d52ccbf
Compare
Conflicts have been resolved. A maintainer will review the pull request shortly. |
1710e25
to
729ef94
Compare
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
cf94309
to
9f70f76
Compare
Conflicts have been resolved. A maintainer will review the pull request shortly. |
…tion and anta.tests.hardware
Ready for shipping and starting phase 2 |
6ebcf75
to
7ca3fc6
Compare
This was referenced Apr 27, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
Implement a virtual class to create EOS tests. It provides following features:
Example
Below is a test example based on PR change:
New classes for commands gathering
Commands can be abstracted to use dynamic parameters provided by tests catalog:
Todo
collect
toInventoryDevice
To be covered by other PRs
Side additions
Cli to collect EOS output
To help building pytest coverage, a new CLI has been created to collect command output based on AntaTest output. So it can be used in pytest as-is
Cli to collect EOS command with template
To help building pytest coverage, a new CLI has been created to collect command output based on AntaTest output using template command: