Package org.gradle.api.tasks.testing
Schnittstelle GroupTestEventReporter
- Alle Superschnittstellen:
AutoCloseable,TestEventReporter
Reports test events, and child test event reporters.
- Seit:
- 8.12
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungreportTest(String name, String displayName) Create a child 'test' test event reporter.reportTestGroup(String name) Create a child group test event reporter.
-
Methodendetails
-
reportTest
Create a child 'test' test event reporter. This can be used, for example, to emit events for each method in a tested class.Since this is a 'test' node, it will not have any children. To add children, use
reportTestGroup(String).- Parameter:
name- the name of the testdisplayName- the display name of the test- Gibt zurück:
- the nested test event reporter
- Seit:
- 8.12
-
reportTestGroup
Create a child group test event reporter. This can be used, for example, to emit events for a tested class, or a parameterized test method (but not the individual parameterized tests).Since this is a group, it can have children. To add a 'test' node, use
reportTest(String, String).- Parameter:
name- the name of the composite, which will also be used as the display name- Gibt zurück:
- the nested test event reporter
- Seit:
- 8.12
-