Captain is an open source CLI that can detect and quarantine flaky tests, automatically retry failed tests, partition files for parallel execution, and more. It's compatible with 15 testing frameworks.
Use Captain now with your existing test framework. Captain works with over 15 different test frameworks with more to follow.
DocumentationCaptain tracks the time each test takes to run and partitions your test suite into balanced partitions to minimize test suite runtime in CI.
Tracks runtimes with checked-in files
Tracks runtimes automatically
Captain determines and reports on which tests in your test suites are flaky so that you can easily resolve issues with flakiness.
Prints a report of flakes from an individual test run
Reports on flakiness across all CI test runs
Captain retries only the tests that fail so that you spend less time waiting for retries to complete. Combined with flakiness detection, Captain can be configured to retry flaky tests more aggressively than new failures.
Captain's quarantining allows you to continue running tests that are known to be flaky or failing while preventing them from failing your builds.
Check in quarantine file
Quarantine via an interactive dashboard
We're always improving our tools and expanding their functionality. Stay up to date on the latest updates and improvements.
This release fixes a bug related to the interplay between configuration preventing the ability to run run partition-enabled suites without partitioning.
Improve DX of captain partition functionality by inferring CI provider parallelism and exposing new configuration to partition w/in captain run.
This release improves the getting started experience for Captain by requiring less configuration.
We're building open source tools to solve problems commonly found with builds and tests. We'd love to collaborate with you.
Use the OSS Captain CLI for free with file-based configuration.
Free
Recommended
Use the Captain CLI with a Cloud subscription to gather analytics and leverage them in real-time when running your test suites.
$10per million test results uploaded
For larger workloads or custom vendor requirements.
Contact us
Get the latest releases and news about RWX and our ecosystem with our newsletter.