-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
Description
On JVM, SBT test interface events are emitted for individual tests; on Scala.js, they are missing.
Reading ZIO code, I see:
- shared
BaseTestTask
class overridessbt.testing.Task.execute()
in terms ofBaseTestTask.run()
; - which calls shared
ZIOSpecAbstract.runSpecWithSharedRuntimeLayer()
; - which calls shared
TestExecutor.run()
; - which calls shared
ZTestEventHandlerSbt.handle()
; - which emits events with the results of individual tests;
- on JVM,
ZTestTask
builds on therun()
functionality inherited fromBaseTestTask
; - on Scala.js,
ZTestTask
defines its own overload of theexecute()
method, which emits only the "summary" SBT test interface event (and only if the overall suite fails).
Is there any hope for the missing events to start being emitted, like they are in all test frameworks that support SBT test interface on Scala.js?
Thank you!