> ## Documentation Index
> Fetch the complete documentation index at: https://onetest.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Viewing Results

> Analyze test results and execution metrics

> [!NOTE]
>
> This page is under construction. More content coming soon!

## Test Results Overview

OneTest provides comprehensive views of test execution results, trends, and analytics.

## Result Views

> [tab] Run Summary
>
> ### Test Run Summary
>
> High-level metrics for each test run:
>
> > [card] Pass Rate
> >
> > Percentage of passed tests
>
> > [card] Total Tests
> >
> > Number of tests executed
>
> > [card] Duration
> >
> > Total execution time
>
> > [card] Status
> >
> > In Progress, Completed, or Aborted
>
> **Status Breakdown:**
>
> * ✅ **Passed**: Tests that passed all steps
> * ❌ **Failed**: Tests with one or more failed steps
> * ⏸️ **Skipped**: Tests that were skipped
> * 🚫 **Blocked**: Tests blocked by dependencies

> [tab] Detailed Results
>
> ### Individual Test Results
>
> View execution details for each test:
>
> * **Execution timestamp**: When the test ran
> * **Executor**: Who ran the test
> * **Duration**: How long it took
> * **Step results**: Pass/fail status for each step
> * **Evidence**: Screenshots, logs, videos
> * **Defects**: Linked bugs or issues
> * **Environment**: Where it ran
> * **Build**: Version tested

> [tab] Trends
>
> ### Historical Trends
>
> Track quality over time:
>
> * **Pass rate trend**: Are we improving?
> * **Flaky tests**: Tests with inconsistent results
> * **Slow tests**: Execution time increases
> * **Failure patterns**: Common failure reasons
> * **Coverage trends**: Test execution frequency

> [tab] Analytics
>
> ### Test Analytics
>
> Deeper insights into test quality:
>
> * **Coverage by feature**: Which areas are well-tested?
> * **Risk assessment**: High-priority untested areas
> * **Automation candidates**: Frequently-run manual tests
> * **Test debt**: Outdated or deprecated tests
> * **Team productivity**: Tests created/executed by team

## Result Dashboards

> [accordion] Test Run Dashboard
>
> Real-time view of active test runs:
>
> **Widgets:**
>
> * Progress bar (% complete)
> * Status pie chart (pass/fail/skip/blocked)
> * Test list with individual status
> * Assignee breakdown
> * Timeline view
> * Recent failures

> [accordion] Quality Dashboard
>
> Overall product quality metrics:
>
> **Metrics:**
>
> * Pass rate over time (line chart)
> * Test execution velocity
> * Defect trends
> * Coverage by priority
> * Risk areas (low-coverage high-priority features)

> [accordion] Team Dashboard
>
> Team productivity and workload:
>
> **Insights:**
>
> * Tests executed per person
> * Execution time by team member
> * Test creation velocity
> * Review backlog
> * Assigned vs completed tests

> [accordion] Build Dashboard
>
> Quality per build/release:
>
> **Track:**
>
> * Pass rate by build
> * New failures introduced
> * Regression detection
> * Build quality trends
> * Release readiness

## Filtering & Sorting Results

Use powerful filters to find what matters:

```oql Find Recent Failures theme={null}
status = failed AND execution_date >= -7d
ORDER BY execution_date DESC
```

```oql Flaky Tests theme={null}
pass_rate < 0.8 AND pass_rate > 0 AND execution_count >= 5
ORDER BY pass_rate ASC
```

```oql Slow Tests theme={null}
avg_duration > 300
ORDER BY avg_duration DESC
```

```oql Untested High Priority theme={null}
status = active AND priority IN (p0, p1) AND last_run IS NULL
ORDER BY priority ASC
```

## Exporting Results

> [tab] Reports
>
> ### Generate Reports
>
> Create shareable reports:
>
> * **Executive Summary**: High-level metrics for stakeholders
> * **Detailed Test Report**: Complete execution details
> * **Failure Analysis**: Deep dive into failures
> * **Trend Report**: Historical quality trends
> * **Coverage Report**: Feature coverage analysis
>
> **Formats:** PDF, Excel, HTML

> [tab] Integrations
>
> ### Push to Other Tools
>
> Send results to external systems:
>
> * **Slack**: Notify team on completion
> * **JIRA**: Create/update issues for failures
> * **Email**: Send reports to stakeholders
> * **Webhook**: Custom integrations

> [tab] API Access
>
> ### Programmatic Access
>
> Access results via API:
>
> ```bash theme={null}
> # Get test run results
> GET /api/v1/runs/{run_id}/results
>
> # Get execution details
> GET /api/v1/executions/{execution_id}
>
> # Query results with OQL
> POST /api/v1/products/{id}/search/executions
> ```

## Understanding Metrics

> [accordion] Pass Rate
>
> **Formula:** `(Passed Tests / Total Tests) × 100`
>
> **Interpretation:**
>
> * **≥95%**: Excellent quality
>
> * **90-94%**: Good quality
>
> * **80-89%**: Needs attention
>
> * **\<80%**: Critical issues
>
> > [!TIP]
> >
> > Track pass rate trends, not just absolute values. A declining trend indicates growing technical debt.

> [accordion] Flaky Tests
>
> Tests that pass sometimes and fail other times without code changes.
>
> **Detection:** Tests with:
>
> * Pass rate between 20% and 80%
> * At least 5 executions
> * No pattern to failures
>
> **Action:** Fix or remove flaky tests—they erode confidence in your test suite.

> [accordion] Test Velocity
>
> **Formula:** `Tests Executed / Time Period`
>
> Measures how quickly you're validating changes. Higher velocity means faster feedback loops.

> [accordion] Coverage
>
> Percentage of features/requirements that have associated tests.
>
> **Types:**
>
> * **Feature coverage**: Features with tests
> * **Requirement coverage**: Requirements with tests
> * **Priority coverage**: P0/P1 features with tests
> * **Execution coverage**: Tests run in last N days

## What's Next?

> [card] [Test Management](https://onetest.ai/ui/test-management.md)
>
> Back to test management overview

> [card] [OQL Queries](https://onetest.ai/oql/examples.md)
>
> Learn advanced filtering with OQL

> [card] [Workflows](https://onetest.ai/workflows/smoke-tests.md)
>
> Common testing workflows

> [card] [Best Practices](https://onetest.ai/resources/best-practices.md)
>
> Testing best practices


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.