https://kotlinlang.org logo
Title
e

Emil Kantis

05/31/2022, 7:21 AM
Is it possible to attach logs to a test case/result from a
TestListener
?
j

Jim

06/01/2022, 12:05 AM
probably in some higher scope, finalizeSpec already has the test case/result and there's a per-test case logger that you'd need to wire in in your project config
LogExtension
Users can use testId on [TestCase.descriptor] to cross-reference the [TestResult] with the provided logs.