Does cucumber do away with the need to write unit tests?

前端 未结 7 1153
予麋鹿
予麋鹿 2021-02-12 11:35

I am a little confused by the sheer number of testing frameworks available for Ruby/ROR.

I have recently watched the Cucumber Railscasts and found them very interesting.

7条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-12 12:04

    When a unit test fails (I mean a real unit test that tests a method in isolation using mocks), it tells you what "unit" has a problem. When an acceptance test fails, it tells you what "feature" has a problem, not where the problem is located.

提交回复
热议问题