Sha256: 86337d75d5db14b9455b7944b07d9e50164358559eea76288435eb6b96630c89

Contents?: true

Size: 1.92 KB

Versions: 26

Compression:

Stored size: 1.92 KB

Contents

# Testing Beaker Itself

While Beaker provides the testing harness for much of the acceptance testing that happens at Puppet, Beaker itself must also go through a testing process for changes submitted to itself to ensure that releases of Beaker do not break pipelines, jobs, and tests that rely on it. This document describes what is actually covered in Beaker's own testing and how that testing is accomplished.

## Testing Coverage

### Product Coverage

Beaker test coverage covers the LTS PE version, currently 2016.4.0, and the latest released version of PE, currently 2016.5.0. 
Since there is only a single major version of Puppet itself currently supported, beaker only run tests on the latest y-release of Puppet 4, currently 4.8.z. This currently resolves to puppet-agent 1.8.x.

### Platform Coverage

The platforms that beaker covers in its regression testing are largely what is supported by either Puppet or Puppet Enterprise. All variants that are supported by Puppet Enterprise as master platforms are tested. Variants that are agent only are more sparsely covered, generally testing the latest released version.

## Test Suite Phases

### Beaker Spec
The initial step in Beaker's pipeline is to execute spec testing with supported and future rubies; 2.2.5 and 2.3.1. 

### Beaker Acceptance 
All acceptance tests use actual OS's with beaker installed and use beaker itself to verify that its own methods and classes are working. 

* The Base tests are tests that do not require puppet be installed on the SUT. This includes much of the DSL and host helpers.
* The puppet tests rely on puppet being installed in the pre-suite

### Beaker Regression

The Beaker regression tests are an ever evolving set of Jenkins jobs that use acceptance jobs defined in other pipelines with the Beaker PR changes. We run these jobs to ensure the PR changes do not cause breakage in existing acceptance jobs. The tests themselves are maintained by each separate team.

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
beaker-3.34.0 docs/concepts/testing_beaker_itself.md
beaker-3.33.0 docs/concepts/testing_beaker_itself.md
beaker-3.32.0 docs/concepts/testing_beaker_itself.md
beaker-3.31.0 docs/concepts/testing_beaker_itself.md
beaker-3.30.0 docs/concepts/testing_beaker_itself.md
beaker-3.29.0 docs/concepts/testing_beaker_itself.md
beaker-3.28.0 docs/concepts/testing_beaker_itself.md
beaker-3.27.0 docs/concepts/testing_beaker_itself.md
beaker-3.26.0 docs/concepts/testing_beaker_itself.md
beaker-3.25.0 docs/concepts/testing_beaker_itself.md
beaker-3.24.0 docs/concepts/testing_beaker_itself.md
beaker-3.23.0 docs/concepts/testing_beaker_itself.md
beaker-3.22.0 docs/concepts/testing_beaker_itself.md
beaker-3.21.1 docs/concepts/testing_beaker_itself.md
beaker-3.21.0 docs/concepts/testing_beaker_itself.md
beaker-3.20.0 docs/concepts/testing_beaker_itself.md
beaker-3.19.0 docs/concepts/testing_beaker_itself.md
beaker-3.18.0 docs/concepts/testing_beaker_itself.md
beaker-3.17.0 docs/concepts/testing_beaker_itself.md
beaker-3.16.0 docs/concepts/testing_beaker_itself.md