-
Notifications
You must be signed in to change notification settings - Fork 70
Closed
Labels
Description
sbtn is a native sbt client.
- For some reason, stderr output from airframe-log is not shown if sbtn is used.
- Instantiating a PrintStream for stderr might be the cause https://github.com/wvlet/airframe/blob/master/airframe-log/.jvm/src/main/scala/wvlet/log/LogEnv.scala#L18
- AirSpec, which uses airframe-log, also shows no test output. While another testing framework like mUnit can show log messages.
- For airspec, sbt provides loggers here
new AirSpecTaskRunner(taskDef, config, taskLogger, eventHandler, classLoader).runTask - munit just uses System.out.println https://github.com/scalameta/munit/blob/f7511b396631bf8684128cda021f3564d92f32df/junit-interface/src/main/java/munit/internal/junitinterface/RichLogger.java#L34
- For airspec, sbt provides loggers here