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

前端 未结 7 1163
予麋鹿
予麋鹿 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:21

    Personally I don't think that you should stop writing unit tests. As an acceptance testing tool, Cucumber should replace your functional tests and, if you writing, view tests.

    Cucumber features are supposed to be simple and coupled to the real user's value a given feature has.

提交回复
热议问题