---
title: "Shard, retry, and summarize Rust test runs with CI-friendly artifacts and failure isolation using cargo-nextest"
description: "Use cargo-nextest when an agent needs more reliable Rust test execution than cargo test, especially for sharding, retries, machine-readable output, and CI triage."
verification: "security_reviewed"
source: "https://github.com/nextest-rs/nextest"
author: "nextest contributors"
publisher_type: "community"
category:
  - "CI/CD Integrations"
framework:
  - "Multi-Framework"
tool_ecosystem:
  github_repo: "nextest-rs/nextest"
  github_stars: 2910
  npm_package: "cargo-nextest"
  npm_weekly_downloads: 9751524
---

# Shard, retry, and summarize Rust test runs with CI-friendly artifacts and failure isolation using cargo-nextest

Use cargo-nextest when an agent needs more reliable Rust test execution than cargo test, especially for sharding, retries, machine-readable output, and CI triage.

## Prerequisites

Rust toolchain, Cargo workspace or crate, and CI or local shell access.

## Installation

Choose whichever fits your setup:

1. Copy this skill folder into your local skills directory.
2. Clone the repo and symlink or copy the skill into your agent workspace.
3. Add the repo as a git submodule if you manage shared skills centrally.
4. Install it through your internal provisioning or packaging workflow.
5. Download the folder directly from GitHub and place it in your skills collection.

Install command or upstream instructions:

```
Install cargo-nextest with the Rust toolchain using the method documented by the project, add any nextest configuration your repository needs, then replace or supplement cargo test with cargo nextest run in local workflows or CI jobs.
```

## Documentation

- https://nexte.st/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/shard-retry-and-summarize-rust-test-runs-with-ci-friendly-artifacts-and-failure-isolation-using-cargo-nextest/)
