如何为 Ruby 中编码的网站自动化测试驱动开发 (TDD) 语法?

How to automate Test driven development (TDD) syntax for websites coded in Ruby?

有了这个语法,我该如何自动化它以及我应该使用什么IDE?

When I fill in "Email" with ""
  And I press "Yes – this is my email address"
  Then I should see "Email must be completed"
  When I fill in "Email" with "emna@mail.com"
  And I press "Yes – this is my email address"
Then a new user should exist 

我要用 javascript 吗?

显示的语法是 Gherkin。它可以用黄瓜或菠菜自动化。

https://github.com/cucumber/cucumber-ruby

https://github.com/codegram/spinach