Sha256: 964115477ba20d8a1548f88b2a413b0a53175325c3776febf96c80ec8e93a945

Contents?: true

Size: 1.29 KB

Versions: 21

Compression:

Stored size: 1.29 KB

Contents

# The Command Line
* Using the gem

        $ beaker --log-level debug --hosts sample.cfg --tests test.rb

* Using latest git

        $ bundle exec beaker --log-level debug --hosts sample.cfg --tests test.rb

## Useful options
* `-h, --hosts FILE `, the hosts that you are going to be testing with
* `--log-level debug`, for providing verbose logging and full stacktraces on failure
* `--[no-]provision`, indicates if beaker should provision new boxes upon test execution. If `no` is selected then beaker will attempt to connect to the hosts as defined in `--hosts FILE` without first creating/running them through their hypervisors
* `--preserve-hosts [MODE]`, indicates what should be done with the testing boxes after tests are complete.  If `always` is selected then the boxes will be preserved and left running post-testing.  If `onfail` is selected then the boxes will be preserved only if tests fail, otherwise they will be shut down and destroyed.  If `never` is selected then the boxes will be shut down and destroyed no matter the testing results.
* `--parse-only`, read and parse all command line options, environment options and file options; report the parsed options and exit.

## The Rest
See all options with
* Using the gem

        $ beaker --help

* Using latest git

        $ bundle exec beaker --help

Version data entries

21 entries across 21 versions & 1 rubygems

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