Ruby Raider使用教程

Ruby Raider是什么?

Ruby Raider 是一款生成器和脚手架 gem,可让 UI 测试自动化更容易

Github链接:https://github.com/RaiderHQ/ruby_raider

目前支持的框架

Web自动化测试

  • Cucumber and Selenium

  • Rspec and Selenium

  • Cucumber and Watir

  • Rspec and Watir

App自动化测试

  • Cucumber and Appium for Android&iOS

  • Rspec and Appium for Android&iOS

  • Cucumber and Appium Cross-platform

  • Rspec and Appium Cross-platform

开始使用

安装ruby_raider

bash 复制代码
gem install ruby_raider

创建框架

bash 复制代码
raider new test1

以Selenium和Cucumber为例

打开项目

使用Rubymine打开test1

运行测试

在feature文件点击run即可

结论

使用Ruby Raider可以非常轻松地开始自动化测试,对于新手来说还是十分友好的,并且支持主流自动化测试框架

相关推荐
AI_567818 小时前
RabbitMQ消息队列:高可用集群搭建与消息幂等处理
开发语言·后端·ruby
盲盒Q18 天前
《内存之茧》
数据结构·人工智能·ruby
ZAEQgyKFs21 天前
COMSOL 模拟热流固耦合作用下二氧化碳驱替甲烷,研究驱替过程中煤层的变形,和孔渗变化,以及...
ruby
玉梅小洋1 个月前
Unity 2D游戏开发 Ruby‘s Adventure 2:主角和第一脚本
游戏·unity·游戏引擎·游戏程序·ruby·游戏开发
玉梅小洋1 个月前
Unity 2D游戏开发 Ruby‘s Adventure 1:课程介绍和资源导入
游戏·unity·游戏引擎·游戏程序·ruby
x-cmd1 个月前
[x-cmd] 告别实验阶段?Ruby 4.0 里程碑发布:Ractor 趋于稳定,性能再攀高峰
服务器·开发语言·ruby·x-cmd·ractor
龙仔7251 个月前
鲲鹏ARM系统yum安装rabbitmq并附修改端口及配置,最后一键查看
分布式·rabbitmq·ruby
KYGALYX1 个月前
服务异步通信
开发语言·后端·微服务·ruby
为什么不问问神奇的海螺呢丶1 个月前
n9e categraf rabbitmq监控配置
分布式·rabbitmq·ruby
咩图1 个月前
Sketchup软件二次开发+Ruby+VisualStudioCode
java·前端·ruby