Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

azure-octo/test-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ee2cb07 · May 19, 2022

History

14 Commits
Jan 11, 2022
Jan 11, 2022
Jan 11, 2022
Jan 11, 2022
Aug 12, 2021
Nov 12, 2021
May 19, 2022
Jan 11, 2022

Repository files navigation

Dapr Test Dashboard

This is a set of CLI tools specifically built for the parsing github actions test output for the dapr project. Useful if you are a dapr maintainer but probably not for anybody else.

Install

Install the dialog package

brew install dialog

Install Python libraries

pip3 install -r requirements.txt

Set your GitHub token environment variable

export GITHUB_TOKEN=<YOUR-TOKEN-HERE>

Running the test dashboard

python3 scrape_tests.py dapr dapr

Test output grep

You can scrape the output of one or more test suites for a particular regex.

python3 grep_test_output.py dapr cli ".*expected.*Running.*" output.txt

Failure counts

To get the test failure counts by test for the last N days

python3 failure_counts.py dapr dapr 4 

TODO: Document log scraper