RobolectircAndroid 自动化测试工具
Robolectirc 是一款 Android 程序自动化测试工具。
测试代码:
@RunWith(RobolectricTestRunner.class) public class MyActivityTest { @Test public void clickingButton_shouldChangeResultsViewText() throws Exception { Activity activity = Robolectric.buildActivity(MyActivity.class).create().get(); Button pressMeButton = (Button) activity.findViewById(R.id.press_me_button); TextView results = (TextView) activity.findViewById(R.id.results_text_view); pressMeButton.performClick(); String resultsText = results.getText().toString(); assertThat(resultsText, equalTo("Testing Android Rocks!")); } }
评论
RoWarlock自动化测试工具
RoWarlock是基于Selenium、Appium、MSUIAutomaiton的自动化测试工具,覆盖Web、Client(开发中)、Mobile(开发中)三类测试对象,实现对UI层的功能性自动化
RoWarlock自动化测试工具
0
SeLion自动化测试工具
SeLion能够在Java上执行自动化测试的工具。它基于TestNG和Selenium构建;能够用于测试网络和移动应用程序。你可以添加一个客户端模块作为一个Maven依赖项基于WebDriver会话管
SeLion自动化测试工具
0