Test Framework Integration
To fully realize Captain's feature set, you'll need to integrate your test framework with Captain. To do this, Captain provides a CLI which wraps the invocation of your test command. Once integrated, you'll be able to analyze your test results in the Captain web interface, track flaky tests, quarantine and retry tests, partition your test suite, and more.
Supported Test Frameworks
Depending on the capabilities of your test framework of choice, different features of Captain are available. Below, we've outlined which features are available for the frameworks we have integrated so far. If your framework is not listed, let us know. We'd be happy to integrate with additional test frameworks.
Language | Framework | Insights | Flake Detection | Quarantines | Retries | Partitioning |
---|---|---|---|---|---|---|
.NET | xUnit | ✅ | ✅ | ✅ | ✅ | ❌ |
Elixir | ExUnit | ✅ | ✅ | ✅ | ✅ | ✅ |
Go | Ginkgo | ✅ | ✅ | ✅ | ✅ | ❌ |
Go | go test | ✅ | ✅ | ✅ | ✅ | ❌ |
JavaScript | Cucumber | ✅ | ✅ | ✅ | ✅ | ✅ |
JavaScript | Cypress | ✅ | ✅ | ✅ | ✅ | ✅ |
JavaScript | Jest | ✅ | ✅ | ✅ | ✅ | ✅ |
JavaScript | Karma | ✅ | ✅ | ✅ | ❌ 1 | ❌ 1 |
JavaScript | Mocha | ✅ | ✅ | ✅ | ✅ | ✅ |
JavaScript | Playwright | ✅ | ✅ | ✅ | ✅ | ✅ |
JavaScript | Vitest | ✅ | ✅ | ✅ | ✅ | ✅ |
PHP | PHPUnit | ✅ | ✅ | ✅ | ✅ | ❌ |
Python | pytest | ✅ | ✅ | ✅ | ✅ | ✅ |
Python | unittest | ✅ | ✅ | ✅ | ✅ | ✅ |
Ruby | Cucumber | ✅ | ✅ | ✅ | ✅ | ✅ |
Ruby | minitest | ✅ | ✅ | ✅ | ✅ | ✅ |
Ruby | RSpec | ✅ | ✅ | ✅ | ✅ | ✅ |