Interface LogCapturing
-
- All Superinterfaces:
org.scalatest.BeforeAndAfterAll
,org.scalatest.SuiteMixin
public interface LogCapturing extends org.scalatest.BeforeAndAfterAll
Mixin this trait to a ScalaTest test to make log lines appear only when the test failed.Requires Logback and configuration like the following the logback-test.xml:
<appender name="CapturingAppender" class="akka.actor.testkit.typed.internal.CapturingAppender" /> <logger name="akka.actor.testkit.typed.internal.CapturingAppenderDelegate" > <appender-ref ref="STDOUT"/> </logger> <root level="DEBUG"> <appender-ref ref="CapturingAppender"/> </root>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
afterAll()
void
super$afterAll()
org.scalatest.Outcome
withFixture(org.scalatest.TestSuite.NoArgTest test)
-