Skip to content

edufuga/geb-example-multilingual

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages