Datadog Test Optimization for Ruby
Datadog's Ruby Library for instrumenting your tests. Learn more on our official website and check out our documentation for this library.
Features
- Test Visibility - collect metrics and results for your tests
- Test impact analysis - save time by selectively running only tests affected by code changes
- Flaky test management - track, alert, search your flaky tests in Datadog UI
- Auto test retries - retrying failing tests up to N times to avoid failing your build due to flaky tests
- Early flake detection - Datadog’s test flakiness solution that identifies flakes early by running newly added tests multiple times
- Search and manage CI tests
- Enhance developer workflows
- Add custom measures to your tests
- Browser tests integration with Datadog RUM
Installation
Add to your Gemfile.
group :test do
gem "datadog-ci"
end
Upgrade from ddtrace v1.x
If you used test visibility for Ruby with ddtrace gem, check out our upgrade guide.
Setup
- Test visibility setup
- Test impact analysis setup (test visibility setup is required before setting up test impact analysis)
Contributing
See development guide, static typing guide and contributing guidelines.
Code of Conduct
Everyone interacting in the Datadog::CI
project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.