Created
July 6, 2020 23:20
-
-
Save vzakaznikov/5ef9be79e6aff19579914725b4acb86c to your computer and use it in GitHub Desktop.
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
# Using testflows 1.6.24 | |
# | |
# cat test.log | tfs report results --format json > results.json | |
# | |
# Include: raw.log and nice.log.txt | |
# | |
import json | |
with open("results.json") as source: | |
results = json.loads(source.read()) | |
for test in results["tests"]: | |
print(f"{test['test']['test_name']}\t{test['result']['result_type']}\t{test['result']['message_rtime']}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment