Skip to content

Latest commit

 

History

History

tutorials

Tutorials

This doc is here to help you get acquainted with beaker and how we run our acceptance tests at Puppet. We'll go over the purpose of each doc, giving you an idea of when you might need each one. The list has been organized as a learning guide for someone new to using beaker, so be aware of that if you're just dipping into a topic.

For more high level & motivation topics, checkout our concepts docs. If you're looking for more details on a topic than what is provided in the tutorials, checkout our how to docs. And if you'd like API level details, feel free to skip on over to our Rubydocs. And without further pre-amble, we beaker!

Installation

If you haven't installed beaker yet, your guide to doing so can be found here.

Quick Start

As a completely new beaker user, the quick start rake tasks doc will take you through getting beaker running for the first time.

OK, We're Running. Now What?

This is where things get interesting. There are a number of directions you can go, based on your needs. Here's a list of the common directions people take at this point.

Test Writing

Most people reading this doc are in Quality orgs, or are developers who need to get some testing done for their current work. If getting a particular bit of testing done is your next step, this is the direction for you.

Checkout our let's write a test to start with test writing!

Running Beaker Itself

For the quick start guide, we resorted to using rake tasks to get beaker running quickly and easily. In the real world, people need much more customization out of their testing environments. One of the main ways people provide these options is through command line arguments.

If you want to find out more about running beaker itself, checkout the command line.

Environment Details

If you don't need to get your tests running anywhere, but need them on a ton of Operating Systems (OSes), then your next stop is setting up your test environment.

Our creating a test environment doc is the next spot for you!

High Level Execution Details

For a higher level look at what happens during beaker execution, which we call a run, checkout our test run doc. A run is an entire beaker execution cycle, from when the command is run until beaker exits.

As one phase of a test run, the test suites are executed. To get more information about the test suites that are available, and how you configure them, you can check out our test suites doc.