Slackbot
03/20/2022, 9:31 PMTwoClocks
03/20/2022, 9:32 PMPeter vR
03/20/2022, 9:43 PMTwoClocks
03/20/2022, 9:48 PMshowFailedStandardStreams true is a option. hopeful.ephemient
03/20/2022, 9:55 PMephemient
03/20/2022, 9:57 PMTwoClocks
03/20/2022, 10:09 PMTwoClocks
03/20/2022, 10:09 PMTwoClocks
03/20/2022, 10:15 PMephemient
03/20/2022, 10:27 PMTwoClocks
03/20/2022, 10:29 PMephemient
03/20/2022, 10:30 PMephemient
03/20/2022, 10:33 PMimport kotlin.test.Test
class ExampleTest {
@Test
fun test() {
println("hello")
System.err.println("world")
throw RuntimeException()
}
}
whether jacoco is on or off. so perhaps it's an issue with your test framework or some other configurationTwoClocks
03/20/2022, 10:35 PMTwoClocks
03/20/2022, 10:42 PMTwoClocks
03/20/2022, 11:05 PMTwoClocks
03/20/2022, 11:23 PMoutput.bin in the test-report directory. But there doesn't seem to be much documentation on what this is, or how to use it.TwoClocks
03/20/2022, 11:26 PMTwoClocks
03/20/2022, 11:26 PMTwoClocks
03/20/2022, 11:27 PMVampire
03/21/2022, 12:12 AMPeter vR
03/21/2022, 1:22 AMtasks {
withType<Test>() {
maxParallelForks = Runtime.getRuntime().availableProcessors()
useJUnitPlatform()
testLogging {
setExceptionFormat("full")
setEvents(listOf("passed", "skipped", "failed", "standardOut", "standardError"))
}
}
}
configure<com.adarshr.gradle.testlogger.TestLoggerExtension> {
theme = com.adarshr.gradle.testlogger.theme.ThemeType.STANDARD
showCauses = true
slowThreshold = 1000
showSummary = true
showStandardStreams = true
}TwoClocks
03/21/2022, 1:25 AMTwoClocks
03/21/2022, 1:27 AMTwoClocks
03/21/2022, 1:27 AMTwoClocks
03/21/2022, 1:28 AMVampire
03/21/2022, 1:36 AMTwoClocks
03/21/2022, 1:43 AMTwoClocks
03/21/2022, 1:43 AMTwoClocks
03/21/2022, 1:45 AMTwoClocks
03/21/2022, 1:48 AMTwoClocks
03/21/2022, 1:51 AMNiels Doucet
03/21/2022, 7:58 AMVampire
03/21/2022, 3:30 PMwhat makes you think the plugins I'm using are dubiousI said "dubious" because if a plugin magically unexpectedly disables both, the JUnit XML report and the HTML report on the test task, which by default are enabled, so that you can see the output you are missing, that's what I call dubious unless the plugin is specifically meant to do that.
or that I don't know how they work?I said "you don't know how they work" because that is what you said yourself. You said you need to disable plugin by plugin to find out which disables the reports that are on by default, which implies you don't know what they do or you would know which plugin is the culprit and that it is not Gradles fault.
Have you ever worked on a modern large project with automated CI?Yes, I do that on a daily basis
There are LOTS of plugins. artifactory, sonic qube, jenkins, jacoco... the list goes on. Do you go and read all the source code for all of those? of course you don't
You want to tell me with a straight face you understand exactly how all those plugins interact with each other? Of course you don't..Of course I don't know all plugins I use inside-out codewise, but I know what they are supposed to do and whether they are supposed to disable absolutely useful reports or not. And I actually am not aware of any standard or common plugin that does that, as it does not really make much sense imho, which again comes down to the "dubious" part if it is some plugin that disables it. If a plugin is not "dubious" and disables such important reports, I expect it to have that in its documentation crystal clear or otherwise it is dubious. Actually indeed I know how many of the plugins I use do work internally, as I often want to know how they work or what they do to evaluate whether I want that in my builds or not. But very interesting that you seem to know exactly what I do or don't do. o_O