Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 836 Bytes

README.md

File metadata and controls

15 lines (13 loc) · 836 Bytes

Simple example of a multilingual Geb project

This a simple example of a test automatisation project with Geb and Spock. The Spock test opens an online dictionary and looks up a single word. The test is localized by several languages, concretely german and spanish. The browser automatisation is performed by Geb. The Geb page representing the entry point of the online dictionary is localized by its contents and URL.

This means that although Geb doesn't provide a direct mean to parametrise a Page class it is nevertheless possible to localize one or several Pages with several languages. The Page is implemented here independently of its languages; the localizations are provided by external helping classes and are therefore easily extensible.