简体   繁体   English

创建并启动Espresso测试

[英]Create and launch Espresso test

Is there a way to create an espresso test file from a class like does Command / Control + Shift + T ? 有没有一种方法可以从类似Command / Control + Shift + T的类中创建浓缩咖啡测试文件?
Same for launch the current test with espresso into the device? 使用espresso将当前测试启动到设备中也一样吗?

It's very annoying to create/launch every test manually through the whole process of going to the file's hierarchy and then create the launch configuration of it. 在转到文件层次结构然后创建它的启动配置的整个过程中,手动创建/启动每个测试非常烦人。 Neither an option is hidden in options? 选项中没有隐藏选项?

If I remember well, these functionalities were available on Android Studio 2.3, I noticed the lack of them from AS3.0. 如果我还记得的话,这些功能可在Android Studio 2.3上使用,我注意到AS3.0中缺少这些功能。 Where did they go? 他们去哪了

与今天一样,Android Studio 3.1.1拥有与以前一样的功能

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

相关问题 浓咖啡,测试第二项活动的启动 - Espresso, test launch of second activity 浓缩咖啡测试中的“无法启动活动” - “Could not launch activity” in espresso test Android Espresso:如何创建可以启动具有不同活动的单独测试类的测试套件? - Android Espresso: How to create test-suite which may launch separate test classes with different activities? 在浓咖啡测试之前创建联系人 - Create contact before espresso test CircleCI-无法启动浓缩咖啡测试,得到“'java.lang.NoClassDefFoundError' - CircleCI - not able to launch espresso test, getting "'java.lang.NoClassDefFoundError' 如何在浓缩咖啡中从另一个启动一个活动测试用例 - How to launch one activity test cases from another in espresso android espresso:按钮点击测试新活动启动失败 - android espresso:test for new activity launch on button click is failing 从终端创建或启动Android模拟器,并禁用Espresso测试动画 - Create or launch Android emulator from terminal with animations disabled for Espresso testing 如何使用 Espresso 测试记录器为以编程方式创建的视图创建 UI 测试 - How to create UI tests with Espresso Test Recorder for programmatically created views 如何创建运行特定的意式浓缩咖啡测试的gradle任务 - How to create a gradle task that runs specific espresso test
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM