Skip to content

Latest commit

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

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

namesummarycontact
bind/bind-setupsetup functions for bindPetr Sklenar psklenar@redhat.com
bind/bind-utilsFew helpers for working with DNS and DNSSEC in tests.Petr Mensik pemensik@redhat.com
ControlFlow/CleanupProvides function to define cleanup stack which can do its work at any timeDalibor Pospisil dapospis@redhat.com
ControlFlow/ConditionalPhasesImplements conditional phases.Dalibor Pospíšil dapospis@redhat.com
ControlFlow/mcasemodal test case librarymmacura@redhat.com
ControlFlow/SessionControlSessions handling libraryDalibor Pospíšil dapospis@redhat.com
crypto/fipsA set of helpers for FIPS 140 testingOndrej Moris omoris@redhat.com
database/mariadbSet of basic functions for mariadbJakub Heger jheger@redhat.com
database/mysqlSet of basic functions for mysqlJakub Heger jheger@redhat.com
database/postgresqlSet of basic functions for postgresqlVaclav Danek vdanek@redhat.com
distribution/CleanupCleanup library referenceDalibor Pospíšil dapospis@redhat.com
distribution/ConditionalPhasesConditionalPhases library referenceDalibor Pospíšil dapospis@redhat.com
distribution/dpcommonA meta library bringing other librariesDalibor Pospíšil dapospis@redhat.com
distribution/dumpHelpers for dumping files to logAlois Mahdal amahdal@redhat.com
distribution/epelepel library referenceDalibor Pospíšil dapospis@redhat.com
distribution/LogMore fine-grade logging solutionDalibor Pospíšil dapospis@redhat.com
distribution/mcasemcase library referenceMartin Klusoň mkluson@redhat.com
distribution/optssimplified interface to getopts processingDalibor Pospíšil dapospis@redhat.com
distribution/RpmSnapshotRpmSnapshot library referenceDalibor Pospíšil dapospis@redhat.com
distribution/staticstatic file checkingAlois Mahdal amahdal@redhat.com
distribution/syncsync library referenceOndrej Moris omoris@redhat.com
distribution/tcfBlock style coding with ability of skipping partsDalibor Pospíšil dapospis@redhat.com
distribution/testUserThis library provides functions for maintaining test users.Dalibor Pospisil dapospis@redhat.com
epel/epelEPEL handlingDalibor Pospíšil dapospis@redhat.com
example/fileExample of a beakerlib libraryPetr Šplíchal psplicha@redhat.com
firewalld/mainManage firewalld setup and cleanupTomas Dolezal todoleza@redhat.com
httpd/httpBasic library for httpd testingOndřej Pták optak@redhat.com
initscripts/basicit contains nm handling and similation toolsPetr Sklenar psklenar@redhat.com
libraries/wrappera library wrapper helperDalibor Pospíšil dapospis@redhat.com
nginx/nginxlibrary for testing nginxOndrej Ptak optak@redhat.com
nvr/nvrLibrary allows easily compare NVR of an installed packageKarel Srot ksrot@redhat.com
openssl/certgenLibrary for creating X.509 certificates for any use
perl/subpackageLibrary of functions regarding the perl subpackagesMartin Kyral mkyral@redhat.com
php/utilsLibrary with various utility functions for php testsDavid Kutalek dkutalek@redhat.com
rpm/snapshotRpmSnapshot libraryDalibor Pospíšil dapospis@redhat.com
rsyslog/basicbasic functions to support rsyslogDalibor Pospíšil dapospis@redhat.com
selinux-policy/commonlibrary(selinux-policy) wrapperDalibor Pospíšil dapospis@redhat.com
sos/utilsLibrary with various utility functions for sos testsDavid Kutalek dkutalek@redhat.com
squid/squidLibrary for squid testingMartin Kyral mkyral@redhat.com
sync/syncA simple synchronization library for two hostsOndrej Moris omoris@redhat.com
tuned/basicLibrary for tunedrhack@redhat.com
wrappera library wrapper helperDalibor Pospíšil dapospis@redhat.com

About

Documentation for shared beakerlib libraries and general libraries requests.

Resources

Stars

2 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages