Welcome to TestGrid, a highly-configurable, interactive dashboard for viewing your test results in a grid!
Check out Kubernetes' instance at https://testgrid.k8s.io.
We're in the middle of open-sourcing TestGrid! You can check this repo or this issue for more updates as we continue.
We have a short video from the TestGrid session at the 2018 Kubernetes contributor summit.
The video demos power features of TestGrid, including:
Please have a look!
If you want to modify TestGrid beyond adding new tests or dashboards, see Contributing and Updating Testgrid.
If you need to add a new test that you want TestGrid to display, or otherwise change what is shown on https://testgrid.k8s.io, see Testgrid Configuration.
Updates to the config are automatically tested and pushed to production.
There are two TestGrid frontends:
Here are some quick tips and clarifications for using the TestGrid site!
TestGrid assigns dashboard tabs a status based on recent test runs.
num_columns_recent
) test runs.You can get a small widget showing the status of your dashboard tab, based on the tab statuses above! For example:
Inline it with:
<!-- Inline with a link to your tab -->
[](https://testgrid.k8s.io/<dashboard_name>#<tab_name>)
Change the size of the test result rectangles.
The three sizes are Standard, Compact, and Super Compact. You can also specify width=X
in the URL (X > 3) to customize the width. For small widths, this may mean the date and/or changelist, or other custom headers, are no longer visible.
You can repeatedly add filters to include/exclude test rows. Under Options:
Grouped tests are summarized in a single row that is collapsible/expandable by clicking on the test name (shown as a triangle on the left). Under Options:
Group by RegEx Mask: Specify a regular expression to mask a portion of the test name. Any test names that match after applying this mask will be grouped together.
Group by Target: Any tests that contain the same target will be grouped together.
Group by Hierarchy Pattern: Specify a regular expression that matches one or more parts of the tests' names and the tests will be grouped hierarchically. For example, if you have these tests in your dashboard:
/test/dir1/target1
/test/dir1/target2
/test/dir2/target3
By specifying regular expression "\w+", the tests will be organized into:
▼test
▼dir1
target1
▼dir2
target2
target3
Under Options
You can display identified clustered failures in your test results grid in a dashboard tab. Select the Display Clustered Failures List toggle button to render a list/table of identified failure clusters at the bottom of the browser.
Clusters can be grouped by:
The clustered failures table shows the test status, error message (if grouped by error message), and area of the clusters. The clusters are sorted by area in descending order.
Selecting a row highlights the cells belonging to that cluster. Multiple row selection (with multiple cluster highlighting) is supported. To de-select a row, click on the selected row again.
Information on setting up your own TestGrid instance can be found here.
If you're looking to add your configuration to an existing instance (such as testgrid.k8s.io), see config.md instead.