Skip to main content

Cost Intelligence & Spend Forecasting

Retestr provides a dedicated "Cost Intelligence" dashboard to help organizations visualize their testing spend, understand usage patterns, and forecast future costs.

Overview

As testing scales, it's critical to ensure that infrastructure costs remain predictable. The Cost Intelligence dashboard provides granular insights into:

  • Daily Spend: Visualize how much you are spending on test runs and AI self-healing events each day.
  • Forecasting: A predictive model (linear regression) estimates your total spend by the end of the current billing cycle based on your current velocity.
  • Usage Breakdown: See exactly which projects and users are consuming resources.

Accessing the Dashboard

  1. Navigate to Settings in the main sidebar.
  2. Scroll to the Subscription section.
  3. Click on View Cost Intelligence Dashboard.

Key Metrics

Current Spend

The total accrued cost for the current billing period. This includes:

  • Test Runs: Charged per execution (after free tier).
  • AI Heals: Charged when the AI successfully repairs a broken test selector.

Forecasted Spend

An estimation of your final bill amount for the month.

  • Methodology: We analyze your daily usage trend over the last 30 days and project it forward to your billing cycle end date.
  • Confidence: The confidence level (High/Medium/Low) indicates how stable your usage pattern is. Spiky usage results in lower confidence forecasts.

Unit Costs

Displays your current plan's pricing:

  • Per Run: The cost of executing a single test case.
  • Per AI Heal: The cost of an AI-powered self-healing event.

Charts & Visualizations

Daily Cost

A bar chart showing your spending day-by-day. Use this to identify cost spikes caused by:

  • New feature development (increased CI runs).
  • Flaky tests triggering multiple retries.
  • Misconfigured schedules running too frequently.

Cumulative Spend Trend

A line chart showing how your cost accumulates over the month. The slope of this line represents your "Burn Rate".

Usage Breakdown

A detailed table showing usage by Project and User.

  • Attribution: See exactly who triggered the runs (e.g., "alice@example.com" vs "CI Bot").
  • Project Allocation: Identify which projects are the most expensive to maintain.

Budget Alerts (Coming Soon)

Future updates will allow you to set hard budgets (e.g., "Stop running tests if spend exceeds $500") or soft alerts (e.g., "Email me if forecast exceeds $200").