Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (23 sloc) 834 Bytes

This directory contains the functional testing suite for stacker. It exercises all of stacker against a real AWS account. Make sure you have the AWS credentials loaded into your environment when you run these steps.


  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
$ export AWS_DEFAULT_REGION=us-east-1
  1. Ensure that bats is installed:
# On MacOS if brew is installed
$ brew install bats-core
  1. Setup functional test environment & run tests:
# To run all the tests
$ make -C tests test
# To run specific tests (ie: tests 1, 2 and 3)
$ TESTS="1 2 3" make -C tests test