spinach vs cucumber for BDD in rails

后端 未结 4 1971
野的像风
野的像风 2021-02-02 13:49

I am starting on BDD. Was wondering which would be better to start with Cucumber or Spinach. My impression is that Spinach is new off the block. Look here

Which one shou

4条回答
  •  眼角桃花
    2021-02-02 14:05

    I can't really speak for Spinach, as I've never used it, but Cucumber definitely has a huge community support with loads of external libraries.

    Capybara allows you to easily test web applications

    When I fill in "username" with "foo"
    And I click on "login"
    Then I should see "enter your password"
    

提交回复
热议问题