beakerlib / libraries

Documentation for shared beakerlib libraries and general libraries requests.
2 stars 2 forks source link

Beakerlib Libraries

Introduction

In order to prevent unnecessary test code duplication it makes sense to use a test library which implements frequently repeated actions. Beakerlib Libraries allow to create and share modules, encapsulating common complex tasks such as configuring and starting a particular daemon in a single function. Also, the library takes care of installing all the necessary dependencies.

Location

The default location for libraries is the beakerlib project. Libraries stored there can be easily referenced using the library(component/name) notation in the require attribute. It is recommended to create a separate git repository for each library unless there are multiple libraries which are very closely related. Note that you will be able to set up collaborators for your library repository.

Create

In order to create a git repository for a new library file a new issue in this project and specify the desired name.

Develop

As every change in the library can affect many tests which depend on it, it is strongly recommended to always use pull requests when developing new features and fixing bugs and require at least one review from collaborators before merging the code to production.

List

name summary contact
bind/bind-setup setup functions for bind Petr Sklenar psklenar@redhat.com
bind/bind-utils Few helpers for working with DNS and DNSSEC in tests. Petr Mensik pemensik@redhat.com
ControlFlow/Cleanup Provides function to define cleanup stack which can do its work at any time Dalibor Pospisil dapospis@redhat.com
ControlFlow/ConditionalPhases Implements conditional phases. Dalibor Pospíšil dapospis@redhat.com
ControlFlow/mcase modal test case library mmacura@redhat.com
ControlFlow/SessionControl Sessions handling library Dalibor Pospíšil dapospis@redhat.com
crypto/fips A set of helpers for FIPS 140 testing Ondrej Moris omoris@redhat.com
database/mariadb Set of basic functions for mariadb Jakub Heger jheger@redhat.com
database/mysql Set of basic functions for mysql Jakub Heger jheger@redhat.com
database/postgresql Set of basic functions for postgresql Vaclav Danek vdanek@redhat.com
distribution/Cleanup Cleanup library reference Dalibor Pospíšil dapospis@redhat.com
distribution/ConditionalPhases ConditionalPhases library reference Dalibor Pospíšil dapospis@redhat.com
distribution/dpcommon A meta library bringing other libraries Dalibor Pospíšil dapospis@redhat.com
distribution/dump Helpers for dumping files to log Alois Mahdal amahdal@redhat.com
distribution/epel epel library reference Dalibor Pospíšil dapospis@redhat.com
distribution/Log More fine-grade logging solution Dalibor Pospíšil dapospis@redhat.com
distribution/mcase mcase library reference Martin Klusoň mkluson@redhat.com
distribution/opts simplified interface to getopts processing Dalibor Pospíšil dapospis@redhat.com
distribution/RpmSnapshot RpmSnapshot library reference Dalibor Pospíšil dapospis@redhat.com
distribution/static static file checking Alois Mahdal amahdal@redhat.com
distribution/sync sync library reference Ondrej Moris omoris@redhat.com
distribution/tcf Block style coding with ability of skipping parts Dalibor Pospíšil dapospis@redhat.com
distribution/testUser This library provides functions for maintaining test users. Dalibor Pospisil dapospis@redhat.com
epel/epel EPEL handling Dalibor Pospíšil dapospis@redhat.com
example/file Example of a beakerlib library Petr Šplíchal psplicha@redhat.com
firewalld/main Manage firewalld setup and cleanup Tomas Dolezal todoleza@redhat.com
httpd/http Basic library for httpd testing Ondřej Pták optak@redhat.com
initscripts/basic it contains nm handling and similation tools Petr Sklenar psklenar@redhat.com
libraries/wrapper a library wrapper helper Dalibor Pospíšil dapospis@redhat.com
nginx/nginx library for testing nginx Ondrej Ptak optak@redhat.com
nvr/nvr Library allows easily compare NVR of an installed package Karel Srot ksrot@redhat.com
openssl/certgen Library for creating X.509 certificates for any use
perl/subpackage Library of functions regarding the perl subpackages Martin Kyral mkyral@redhat.com
php/utils Library with various utility functions for php tests David Kutalek dkutalek@redhat.com
rpm/snapshot RpmSnapshot library Dalibor Pospíšil dapospis@redhat.com
rsyslog/basic basic functions to support rsyslog Dalibor Pospíšil dapospis@redhat.com
selinux-policy/common library(selinux-policy) wrapper Dalibor Pospíšil dapospis@redhat.com
sos/utils Library with various utility functions for sos tests David Kutalek dkutalek@redhat.com
squid/squid Library for squid testing Martin Kyral mkyral@redhat.com
sync/sync A simple synchronization library for two hosts Ondrej Moris omoris@redhat.com
tuned/basic Library for tuned rhack@redhat.com
wrapper a library wrapper helper Dalibor Pospíšil dapospis@redhat.com