Movatterモバイル変換


[0]ホーム

URL:


TestReport

Table of Contents

Properties
Methods
Script blocks
Property details
Method details
API Documentation:TestReport

Note: This class isincubating and may change in a future version of Gradle.

Generates an HTML test report from the results of one or moreTest tasks.

Properties

PropertyDescription
destinationDir
Incubating

The directory to write the HTML report to.

testResultDirs
Incubating

The set of binary test results to include in the report.

Methods

MethodDescription
reportOn(results)
Incubating

Adds some results to include in the report.

Script blocks

No script blocks

Property details

FiledestinationDir

Note: This property isincubating and may change in a future version of Gradle.

The directory to write the HTML report to.

FileCollectiontestResultDirs

Note: This property isincubating and may change in a future version of Gradle.

The set of binary test results to include in the report.

Method details

voidreportOn(Object... results)

Note: This method isincubating and may change in a future version of Gradle.

Adds some results to include in the report.

This method accepts any parameter of the given types:

  • ATest task instance. The results from the test task are included in the report. The test task is automatically addedas a dependency of this task.
  • Anything that can be converted to a set ofFile instances as perProject.files(java.lang.Object[]). These mustpoint to the binary test results directory generated by aTest task instance.
  • AnIterable. The contents of the iterable are converted recursively.

[8]ページ先頭

©2009-2025 Movatter.jp