Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 530
Prabu Avatar asked Dec 28 '22 01:12

Prabu


1 Answers

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.

like image 138
stefanglase Avatar answered May 08 '23 08:05

stefanglase