bal*_*ain 8 cucumber serenity-bdd cucumber-serenity
Today I've got some theoretical question. I have a little experience in BDD with Cucumber. Now I started working in API testing and I faced with Serenity BDD framework on my new project. It is used with Cucumber. So I would like to clarify what is the difference between Serenity BDD Framework and Cucumber and why can't we use just Cucumber for our tests, because it seems to me, like these two tools are doing the same job. Could anybody give me some explanation or maybe some link to correspondent documentation. Thanks in advance!
不,这是两件事。
Cucumber 是映射 BDD 语法的层,它写在.feature文件中,并带有完成这项工作的实际代码。
Serenity BDD 是支持 3 种不同方法的框架:
Serenity BDD 为自动测试人员做了很多事情:
serenity.properties或serenity.conf。例如:在 FOR_EACH_ACTION、BEFORE_AND_AFTER_EACH_STEP、AFTER_EACH_STEP、FOR_FAILURES、DISABLED 时截屏。这对于调试确实很有帮助。https://serenity-bdd.github.io/theserenitybook/latest/serenity-system-properties.html#_serenity_take_screenshots| 归档时间: |
|
| 查看次数: |
9766 次 |
| 最近记录: |