Skip to content

Latest commit

 

History

History
283 lines (243 loc) · 28.4 KB

the_beaker_dsl.md

File metadata and controls

283 lines (243 loc) · 28.4 KB

Beaker maintains yard documentation, which covers the Beaker DSL.

Assertions

To be used for confirming the result of a test is as expected. Beaker include all Minitest assertions, plus some custom built assertions.

Helpers

DSL methods designed to help you interact with installed projects (like facter and puppet), with hosts (like running arbitrary commands on hosts) or interacting with the web (checking is a given URL is alive or not).

Facter

DSL methods for interacting with facter.

Host

DSL methods for host manipulation.

Puppet

DSL methods for interacting with puppet.

TK

Convenience methods for TrapperKeeper configuration.

Web

Helpers for web actions.

Test

DSL methods for setting information about the current test.

Install Utilities

DSL methods for installing PuppetLabs projects.

EZBake

EZBake convenience methods.

AIO

Agent-only installation utilities.

FOSS

DSL methods for installing FOSS PuppetLabs projects.

PE

DSL methods for installing Puppet Enterprise.

Puppet

DSL methods that can be used for both FOSS/PE puppet installations.

Windows

DSL convenience methods for installing packages on Windows SUTs.

Module

DSL methods for installing puppet modules.

Outcomes

Methods that indicate how the given test completed (fail, pass, skip or pending).

Patterns

Shared methods used as building blocks of other DSL methods.

Roles

DSL methods for accessing hosts of various roles.

Structure

DSL methods that describe and define how a test is executed.

Wrappers

Wrappers around commonly used commands.