Skip to content

Commit 6ab1e98

Browse files
committed
Update PublishingPluginTests.kt
1 parent 62bb475 commit 6ab1e98

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

buildSrc/src/test/kotlin/com/google/firebase/gradle/plugins/PublishingPluginTests.kt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,13 @@ class PublishingPluginTests {
241241
it.task(":checkHeadDependencies")?.outcome shouldBe FAILED
242242
}
243243

244+
/**
245+
* Creates a [GradleRunner] to run the specified [projects].
246+
*
247+
* If your tests are failing, you can call [GradleRunner.forwardOutput] to enable stdout/stderr
248+
* redirection for further debugging. Since this can be excessively verbose and slow down tests,
249+
* this behavior is not enabled by default.
250+
*/
244251
private fun makeGradleRunner(vararg projects: Project) =
245252
GradleRunner.create()
246253
.withProjectDir(testProjectDir.root)
@@ -250,5 +257,4 @@ class PublishingPluginTests {
250257
"firebasePublish",
251258
)
252259
.withPluginClasspath()
253-
// .forwardOutput()
254260
}

0 commit comments

Comments
 (0)