Captain is an open source CLI that can detect and quarantine flaky tests, automatically retry failed tests, partition files for parallel execution, and more.
Check out the quickstart guide to get started!
With Captain, you can:
Track, automatically retry, and quarantine flaky tests
Partition test suites to run in parallel jobs
Understand and debug test failures
With Captain's paid Cloud mode, you can:
Automatically re-balance parallelized test suites based on the latest test performance
Quarantine tests from the Cloud UI to mitigate issues with flaky or failing tests without having to make code changes
Get analytics on which flaky tests are the most problematic
See trends in test performance with 90 day retention
View aggregated and summarized test results for all partitions of a parallelized test suite run
For more information on Captain's feature set, view the Captain product page .
Captain integrates with your CI platform and your test framework to collect data. We currently support 17 test frameworks, but we're actively working on expanding the set of frameworks we support.
Mint Learn how to integrate Captain within Mint
Read more
GitHub Actions Learn how to integrate Captain within GitHub Actions
Read more
CircleCI Learn how to integrate Captain within CircleCI
Read more
Buildkite Learn how to integrate Captain within Buildkite
Read more
GitLab Learn how to integrate Captain within GitLab
Read more
Platform Agnostic Learn how to integrate Captain within Platform Agnostic
Read more
Cucumber JS Learn how to integrate Captain with Cucumber JS
Read more
Cucumber Ruby Learn how to integrate Captain with Cucumber Ruby
Read more
Cypress Learn how to integrate Captain with Cypress
Read more
ExUnit Learn how to integrate Captain with ExUnit
Read more
Ginkgo Learn how to integrate Captain with Ginkgo
Read more
go test Learn how to integrate Captain with go test
Read more
Jest Learn how to integrate Captain with Jest
Read more
Karma Learn how to integrate Captain with Karma
Read more
minitest Learn how to integrate Captain with minitest
Read more
Mocha Learn how to integrate Captain with Mocha
Read more
PHPUnit Learn how to integrate Captain with PHPUnit
Read more
Playwright Learn how to integrate Captain with Playwright
Read more
pytest Learn how to integrate Captain with pytest
Read more
RSpec Learn how to integrate Captain with RSpec
Read more
unittest Learn how to integrate Captain with unittest
Read more
Vitest Learn how to integrate Captain with Vitest
Read more
xUnit Learn how to integrate Captain with xUnit
Read more