Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 830 Bytes

README.md

File metadata and controls

33 lines (26 loc) · 830 Bytes

This directory contains the functional testing suite for stacker. It exercises all of stacker against a real AWS account.

Setup

  1. First, ensure that you're inside a virtualenv:
$ source venv/bin/activate
  1. Set a stacker namespace & the AWS region for the test suite to use:
$ export STACKER_NAMESPACE=my-stacker-test-namespace
  1. Generate an IAM user for the test suite to use:
$ ./stacker.yaml.sh | stacker build -
  1. Grab the generated key pair for the user and set it in your shell:
$ ./stacker.yaml.sh | stacker info -
$ export AWS_ACCESS_KEY_ID=access-key
$ export AWS_SECRET_ACCESS_KEY=secret-access-key
$ export STACKER_ROLE=<FunctionalTestRole>
  1. Run the test suite:
$ brew install bats
$ bats .