开发者

Is Geb(automation testing framework) a good acceptance testing framework?

开发者 https://www.devze.com 2023-02-08 01:21 出处:网络
Is Geb(automation testing framework)a good acceptance testing framewor开发者_运维知识库k?This question might cause very opinionated answers and so will I answer your question from my point of view and

Is Geb(automation testing framework) a good acceptance testing framewor开发者_运维知识库k?


This question might cause very opinionated answers and so will I answer your question from my point of view and try to offer some explanations for my thoughts. To make things clear I am a fan of Geb since I stumbled over it and now I want to explain why:

Page Objects Pattern
Geb supports the Page Objects Pattern in a very pragmatic way. You can define elements with an jQuery-like syntax and use inheritance on your Page Objects to create an easy to maintain abstraction layer.

jQuery Navigator Syntax
With the jQuery Navigator syntax implementing the abstraction layer for your webpage never was easier. And in my opinion writing tests should be as easy as possible to make them happen in the real world of deadlines and fixed budgets.

Good documentation
Geb has a well written documentation that makes it easy to get help on the framework and helped me in nearly all problems I had with the framework.

Integration with Testing Frameworks
The integration with the most common testing frameworks in the Java world is very good and for JUnit and Spock I did not find anything that hindered me to write good tests with Geb. It also integrates with Cucumber and EasyB.


Yes.

The rest of this answer only serves to satisfy the mandatory 30 characters.

0

精彩评论

暂无评论...
验证码 换一张
取 消