android - 设置和使用 Gherkin Android Studio

标签 android testing cucumber gherkin

作为项目的一部分,我应该在 Gherkin 中为我的 Android 应用程序编写测试,以测试功能。我在 Android Studio 中安装了 Gherkin-Plugin(浏览存储库)。

现在我该如何使用它?在哪里可以编辑功能文件并针对模拟器中的应用运行它们?

问候

最佳答案

我推荐你试试这个库: https://github.com/mauriciotogneri/green-coffee

您只需导入它,然后您就可以运行用 Gherkin 编写的测试。

关于android - 设置和使用 Gherkin Android Studio,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40563943/

相关文章:

ruby-on-rails - Rails 4 使用多个 URL 参数测试嵌套资源

javascript - 用 Cucumber 和 Capybara 测试排序

android - viewPager 和数据绑定(bind) android

android - 获取 DisplayMetrics : getResources() or getWindowManager() 的正确方法

android - 防止ItemDecorator向我的 View 类型添加分隔线

javascript - 测试VueJS组件时如何将数据设置到this.$root?

android - Android 模拟器中 Unresolved 主机异常

windows-phone-7 - 在 Windows 模拟器中安装 .xap 文件

typescript - cucumber 与 typescript 的正确用法?

ruby-on-rails - Cucumber 和 webrat - 如何处理 paths.rb 中的动态 URL?