-
Notifications
You must be signed in to change notification settings - Fork 11
Home
This framework has been designed to be extremely basic in design, simple to use and administer, and most of all easy to incorporate within any Web Based Application project.
BCGovehas adopted this framework in order to enable BDD.
BDDStack is based on:
- Geb Browser Automation Framework (http://www.gebish.org/)
It brings together the power of WebDriver, the elegance of jQuery content selection, the robustness of Page Object modelling and the expressiveness of the Groovy language.
Page Object Model is a design pattern to create Object Repository for web UI elements. Under this model, for each web page in the application, there should be corresponding page class. This Page class will find the WebElements of that web page and also contains Page methods which perform operations on those WebElements.
- Spock Framework Behaviour-Driven Development (http://spockframework.org/)
These frameworks allow us to expand the functional (BDD) tests to a large degree and increased sophistication.
The following commands will launch the tests with the individual browsers:
./gradlew chromeTest
./gradlew firefoxTest (Make sure you install FireFox version 46 or older, newer version will not work.)
./gradlew phantomJsTest
./gradlew ieTest