简体   繁体   English

Scala:如何在Intellij中创建单元测试用例

[英]Scala : How to create Unit test case in Intellij

Could you help me in the process of creating Unit Test case for Scala in IntelliJ? 在IntelliJ中为Scala创建单元测试用例的过程中,您能帮我吗?

I tried creating it using intention action but it did not come for me. 我尝试使用意图动作来创建它,但是它并不适合我。 I checked the settings also for intention. 我也检查了设置是否有意。 All looks fine to me. 对我来说一切都很好。

Do we have different process for Scala or am I missing something? Scala的流程是否不同?或者我缺少什么?

我认为,如果您右键单击名称(类,方法等)并选择“转到/测试”(我认为它与默认键盘图中的Ctrl-Shift-T绑定),它将提供创建缺失内容的功能。测试。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM