快捷运行具体测试 [英] shortcut to run concrete test

查看:92
本文介绍了快捷运行具体测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以使用以下方式运行Junit测试:



Shift + Alt + X T



但是我可以如何运行单个测试?使用鼠标点击具体的方法和运行方式 - > Junit测试



任何人都知道这种情况的快捷方式?



谢谢

解决方案

Shift + Alt + X,T运行一个测试方法如果插入符号在方法名称上。




I can run the whole Junit test using:

Shift + Alt + X, T

But how I can run a single test? Using the mouse I click on concrete method and Run As -> Junit test

anyone know shortcut for this case ?

Thanks

解决方案

Shift + Alt + X, T runs one test method if the caret is on the method name.

这篇关于快捷运行具体测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆