简体   繁体   English

在Eclipse中查找测试类

[英]Find test-classes in eclipse

I want to learn programming with eclipse. 我想用Eclipse学习编程。 Therefore I started to get to know this tool. 因此,我开始了解这个工具。 I have a project with some classes and test-classes ( which all had a "test" in there names). 我有一个包含一些类和测试类的项目(所有这些类中都有一个“测试”名称)。 Now I am looking for a shortcut or something like a search field to type in the the word "test" to find all the test-classes. 现在,我正在寻找快捷方式或类似搜索字段的内容,以键入单词“ test”来查找所有测试类别。

Would be nice if i could get some help 如果我能得到一些帮助的话会很好

You can search for classes by their name in Eclipse using the Open Type dialog. 您可以使用“ 打开类型”对话框在Eclipse中按名称搜索类。

To open it, you can use the shortcut ctrl + shift + t . 要打开它,可以使用快捷键ctrl + shift + t

开式

您可以使用@Test字段进行搜索以获取所有测试类ctrl + shift + R。(@ Test)

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

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