Details
-
Type:
Bug
-
Status:
Open
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
Description
My TestNG listener outputs a lot of information in each of onTestXYZ method - when used with Maven and Surefire, it prints a lot of stuff, but using Gradle only what is printed by onFinish method is being printed. Weird, isn't it?
To see it not working please see a project here: https://github.com/tomekkaczanowski/gradle_1009
The output from the listener is not seen anywhere, not on the console nor in the reports. I was able to reproduce this problem with M3->M7
Issue Links
- Duplicates
-
GRADLE-1252
output of TestNG listeners is not visible
-
- Related to
-
GRADLE-2524
JAVA PLUGIN - test task - Setting of logger (using java.util.logging) is reset to defaults inside the test method (using TestNG)
-
Activity
Szczepan Faber
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Description |
the issue of http://issues.gradle.org/browse/GRADLE-1009 has not been fixed
even with "testLogging.showStandardStreams = true" only selected lines are printed to System.out. My TestNG listener outputs a lot of information in each of onTestXYZ method - when used with Maven and Surefire, it prints a lot of stuff, but using Gradle only what is printed by onFinish method is being printed. Weird, isn't it? To see it not working please see a project here: https://github.com/tomekkaczanowski/gradle_1009 |
My TestNG listener outputs a lot of information in each of onTestXYZ method - when used with Maven and Surefire, it prints a lot of stuff, but using Gradle only what is printed by onFinish method is being printed. Weird, isn't it?
To see it not working please see a project here: https://github.com/tomekkaczanowski/gradle_1009 The output from the listener is not seen anywhere, not on the console nor in the reports. I was able to reproduce this problem with M3->M7 |
| Affects Version/s | 1.0-milestone-7 [ 10164 ] | |
| Affects Version/s | 1.0-milestone-6 [ 10162 ] | |
| Summary | test output to console still not working | testNG listeners' system out/err is swallowed |
Szczepan Faber
made changes -
| Link | This issue Duplicates GRADLE-1252 [ GRADLE-1252 ] |
Szczepan Faber
made changes -
| Link | This issue Related to GRADLE-2524 [ GRADLE-2524 ] |
Luke Daley
made changes -
| Workflow | jira with pivotal tracker [ 15214 ] | jira with pivotal tracker (no resolved, only closed) [ 18690 ] |
Luke Daley
made changes -
| Workflow | jira with pivotal tracker (no resolved, only closed) [ 18690 ] | Copy of jira with pivotal tracker (no closed, only resolved) [ 21289 ] |
Unable to get TeamCity builds: No active plugin license is found! Please visit http://stiltsoft.com/teamcity for details
does the listener work at all or its just logging not relayed?