[go: up one dir, main page]

Try our free Gradle and Maven training courses on DPE University

Develocity

Predictive
Test Selection

Stop wasting build time by running unnecessary tests. Develocity™ Predictive Test Selection uses AI to predict and only run tests that are likely to provide useful feedback.

Cut testing time by
up to 90%

Predictive Test Selection applies a machine learning model trained to identify the subset of tests most relevant to a code change and then select only that subset for execution. By eliminating the time spent waiting for likely irrelevant tests to execute, Predictive Test Selection speeds up feedback cycles and keeps you in flow.

Deploy with confidence

Deploy with confidence

Before deployment, you can simulate predictions by comparing them against actual test results. This allows you to make informed decisions about which projects and builds should enable Predictive Test Selection.

Keep your existing tooling

Keep your existing tooling

Predictive Test Selection supports tests run using the JUnit Platform, which in turn supports most of the popular test frameworks. It's also Version Control System agnostic and so shouldn't require changes to your existing tooling or workflow.

Track your savings over time

Track your savings over time

Develocity's dashboard visualizes usage and savings for a custom set of builds and test runs. The Build Scan® report explains why each test was selected or not and the dashboard shows the productivity impact of avoiding irrelevant tests.

Enabling Predictive Test Selection and Test Distribution reduced our test execution times a full order of magnitude. These coupled with Build Cache, have brought our average build times from >10 minutes to 1-2 minutes.

Aubrey Chipman, Sr. Engineer at Netflix

Customize your test strategy

Drive the strategy but let our AI do the work. You can tailor Predictive Test Selection to meet your optimal balance of speed and test confidence.

Test selection profiles

Choose between three selection profiles—Conservative, Standard, and Fast—to set up the right balance between time savings and prediction accuracy.

Diagram illustrating various test selection profiles for predictive test strategy

Run remaining tests option

You can choose to run all remaining tests in a later development stage on CI to ensure all tests are ultimately executed while still avoiding redundant test executions.

Diagram illustrating the process of running remaining tests in a predictive test selection strategy

Multi-build system support

Predictive Test Selection supports both Gradle and Maven builds and is easily enabled via the Develocity Gradle Plugin or Develocity Maven Extension. Gradle PluginMaven Extension

Diagram illustrating Maven and Gradle Build Tool are supported

Need help getting set up?