Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 972 Bytes

README_DEVEL.md

File metadata and controls

51 lines (33 loc) · 972 Bytes

ptomulik-portsng

Before anything

bundle install --path vendor

If you don't plan running acceptance tests, then you may

bundle install --path vendor --without 'acceptance_tests'

Running unit tests

bundle exec rake spec

Running acceptance tests

bundle exec rake beaker

See also the the list of beaker environment variables.

In addition, we support the following variables

  • BEAKER_puppet - name of the puppet package to be installed on hosts, for example BEAKER_puppet="puppet37"

To run on different platforms, use

bundle exec rake beaker:<platform-identifier>

for example

bundle exec rake beaker:freebsd-12.0-amd64

Alternativelly, you may also set the BEAKER_set variable, for example

BEAKER_set=freebsd-12.0-amd64 bundle exec rake beaker