从 IDEA 中的 ScalaTest 窗口导航到失败的 Expect()
IDEA 社区 + Scala 插件和 ScalaTest 使用 FunSuite 和期望样式断言。
问题是,当测试方法失败时,插件窗口仅向我显示失败的方法以及由 Expect() {} 构造生成的消息,但没有为我提供任何实际导航到所谓的 Expect 所在位置的方法在测试代码中。我必须读取失败消息(由期望块生成)并推断导致失败的块。有什么线索吗?
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 to 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 ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
失败和通过测试的导航似乎尚未实现。
我已在 IntelliJ bug 跟踪器中添加了功能请求。请随意添加您的投票。
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.