forked from dentproject/testing
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into pr_testbed_configs
- Loading branch information
Showing
12 changed files
with
281 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Utility Usage | ||
|
||
This folder holds tools for use with dentOS testing. | ||
|
||
## Test Utils | ||
|
||
`test_utils.py` is a test utility that interacts with pytest XMLs to aggregate, sort, and export data across XMLs. | ||
|
||
Available usage modes are: | ||
|
||
- `list` : show basic results from all test suites | ||
- can use `-s` flag to sort listby passes, fails, etc. | ||
- `tree` : show results as a tree grouped by subtype | ||
- `html` : export test results as a markdown-compatible html table | ||
- `csv` : export test results as a csv | ||
- `run_fails` : generate commands to rerun all failed tests | ||
|
||
### Usage | ||
|
||
`./test_utils.py {MODE} -d {XML Directory}` | ||
|
||
### Examples | ||
|
||
Listing test suite results sorted by number passed | ||
|
||
`./test_utils.py list -d ../DentOS_Framework/DentOsTestbed/logs -s p` | ||
|
||
Exporting test data to a csv file | ||
|
||
`./test_utils.py csv -d ../DentOS_Framework/DentOsTestbed/logs > test.csv` |
Oops, something went wrong.