我在 Selenium firefox IDE 的几个套件中包含大量单元测试。
我已经将单个测试导出到 ruby/rspec 并保存了结果。
我还导出了测试套件(它们基本上require
是所有的单元测试)。
我已经安装了 java 并下载了 seleniumk 服务器本身并启动了它(端口 4444):
java -jar selenium-server-standalone-2.32.0.jar
Apr 30, 2013 11:46:11 AM org.openqa.grid.selenium.GridLauncher main
INFO: Launching a standalone server
11:46:11.505 INFO - Java: Oracle Corporation 23.7-b01
11:46:11.508 INFO - OS: Linux 3.2.0-40-generic-pae i386
11:46:11.521 INFO - v2.32.0, with Core v2.32.0. Built from revision 6c40c18
11:46:11.634 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:4444/wd/hub
11:46:11.635 INFO - Version Jetty/5.1.x
11:46:11.636 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver]
11:46:11.637 INFO - Started HttpContext[/selenium-server,/selenium-server]
11:46:11.637 INFO - Started HttpContext[/,/]
11:46:11.678 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler@fa3f1b
11:46:11.679 INFO - Started HttpContext[/wd,/wd]
11:46:11.684 INFO - Started SocketListener on 0.0.0.0:4444
那么我现在该怎么做才能运行从 IDE 导出并保存在我的(Ubuntu)机器上的实际 ruby-rspec 测试呢?