Class ShowSlowestTestsAtEndPlugin
java.lang.Object
com.carrotsearch.gradle.buildinfra.AbstractPlugin
com.carrotsearch.gradle.buildinfra.testing.ShowSlowestTestsAtEndPlugin
- All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>
Prints the slowest tests and test suites (across all projects) at the end of the build.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordA test or suite with its wall-clock duration.static classCollects test and suite times and prints the slowest ones when closed (at the end of a successful build).static interface -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionShowSlowestTestsAtEndPlugin(org.gradle.api.problems.Problems problems, org.gradle.build.event.BuildEventsListenerRegistry listenerRegistry) -
Method Summary
Methods inherited from class AbstractPlugin
failIfDeprecatedOptionUsed, getLibsCatalog, isRootProject, pluginAppliedToRootProject, reportError, reportError
-
Field Details
-
OPT_SLOWEST_TESTS_MIN_TIME
- See Also:
-
OPT_SLOWEST_SUITES
- See Also:
-
OPT_SLOWEST_SUITES_MIN_TIME
- See Also:
-
-
Constructor Details
-
ShowSlowestTestsAtEndPlugin
@Inject public ShowSlowestTestsAtEndPlugin(org.gradle.api.problems.Problems problems, org.gradle.build.event.BuildEventsListenerRegistry listenerRegistry)
-
-
Method Details
-
apply
public void apply(org.gradle.api.Project project)
-