开发者

Navigating to the failed expect() from the ScalaTest window in IDEA

开发者 https://www.devze.com 2023-02-11 08:06 出处:网络
IDEA community + Scala Plugin and ScalaTest using FunSuite and expect style assertions. The thing is when a test method fails, the plugin window just shows the me the failed method and the message ge

IDEA community + Scala Plugin and ScalaTest using FunSuite and expect style assertions.

The thing is when a test method fails, the plugin window just shows the me the failed method and the message generated by the expect() {} construct but does not provide me with any means t开发者_如何学Goo actually navigate to where the so called expect is located in the test code. I have to read the failure message (generated by the expect block) and deduce the block which caused the failure. any clues ?


Navigation for failed and passed tests is not yet implemented, it seems.

I've added a feature request in the IntelliJ bug tracker. Feel free to add your vote to it.

0

精彩评论

暂无评论...
验证码 换一张
取 消