Package 

Class KotlinTestReport

  • All Implemented Interfaces:
    kotlin.Comparable , org.gradle.api.Task , org.gradle.api.internal.DynamicObjectAware , org.gradle.api.internal.TaskInternal , org.gradle.api.plugins.ExtensionAware , org.gradle.util.Configurable

    
    public class KotlinTestReport
    extends TestReport
                        

    Aggregates tests reports for kotlin test tasks added by registerTestTask.

    Individual test tasks will not fail build if this task will be executed, also individual html and xml reports will replaced by one consolidated html report. This behavior can be disabled by setting kotlin.tests.individualTaskReports property to true.

    Aggregate test reports may form hierarchy, for example:

    • allTest // aggregates all tests

    In this case, only topmost aggregate test task will override reporting, event if child tasks will be executed.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final List<AbstractTestTask> getTestTasks()
      final List<TaskProvider<KotlinTestReport>> getChildren()
      final Boolean getOverrideReporting()
      final Boolean getCheckFailedTests()
      final Unit setCheckFailedTests(@Input() Boolean checkFailedTests)
      final Boolean getIgnoreFailures()
      final Unit setIgnoreFailures(@Input() Boolean ignoreFailures)
      String getHtmlReportUrl()
      final Unit addChild(TaskProvider<KotlinTestReport> childProvider)
      final Unit registerTestTask(AbstractTestTask task)
      final Unit checkFailedTests()
      final Unit maybeOverrideReporting(TaskExecutionGraph graph)
      • Methods inherited from class org.gradle.api.internal.AbstractTask

        appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjects
      • Methods inherited from class org.gradle.api.DefaultTask

        compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService
      • Methods inherited from class org.gradle.api.tasks.testing.TestReport

        getDestinationDir, getDestinationDirectory, getTestResultDirs, getTestResults, reportOn, setDestinationDir, setTestResultDirs
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait