We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

Integration testing framework for YaST modules

Formale Metadaten

Titel
Integration testing framework for YaST modules
Serientitel
Anzahl der Teile
45
Autor
Lizenz
CC-Namensnennung 3.0 Unported:
Sie dürfen das Werk bzw. den Inhalt zu jedem legalen Zweck nutzen, verändern und in unveränderter oder veränderter Form vervielfältigen, verbreiten und öffentlich zugänglich machen, sofern Sie den Namen des Autors/Rechteinhabers in der von ihm festgelegten Weise nennen.
Identifikatoren
Herausgeber
Erscheinungsjahr
Sprache

Inhaltliche Metadaten

Fachgebiet
Genre
Abstract
libyui is a library which allows writing applications in ruby and then run them in ncurses or qt for no additional costs. Before, there was no specialized framework for the integration tests. libyui-rest-api and client ruby library allows writing tests using rspec and significantly reduce maintenance of the tests in comparison to screen based testing tools. The solution allows to query the UI properties over HTTP using a REST API. This allows to automate the UI interaction steps and avoid screen-based tools. The API allows reading properties of the UI, so the displayed values can be validated. It also allows interacting with the UI: clicking buttons, toggling check boxes, entering text. In combination with client tests we can write scalable tests and validate UI in details. During this talk we will learn how the framework works and how it can be used to test YaST applications. We also will briefly cover testing on different stages of the development cycle in context of YaST modules, rspec and libyui.