tests

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2014 License: Apache-2.0 Imports: 0 Imported by: 0

README

Deis integration testing

This directory contains a Go package which will run integration tests on an existing Deis cluster.

Repo should be properly checked out into your GOPATH go get github.com/deis/deis

To run all tests:

$ go test -v -tags integration -timeout 50m ./...

The test environment uses several environment variables, which can be set to customize the run:

  • DEIS_TEST_AUTH_KEY - SSH key used to register with the Deis controller -- will be generated if it doesn't exist (default: ~/.ssh/deis)
  • DEIS_TEST_KEY - SSH key used to login to the controller machine (default: ~/.vagrant.d/insecure_private_key)
  • DEIS_TEST_HOSTNAME - hostname which resolves to the controller host (default: local.deisapp.com)
  • DEIS_TEST_HOSTS - comma-separated list of IPs for nodes in the cluster -- should be internal IPs for cloud providers (default: 172.17.8.100)
  • DEIS_TEST_APP - name of the Deis example app to use, which is cloned from GitHub (default: example-ruby-sinatra)

Documentation

Overview

Package github.com/deis/deis/tests runs Deis integration tests.

Directories

Path Synopsis
_vendor
src/github.com/dotcloud/docker/pkg/mflag
Package flag implements command-line flag parsing.
Package flag implements command-line flag parsing.
src/github.com/kballard/go-shellquote
Shellquote provides utilities for joining/splitting strings using sh's word-splitting rules.
Shellquote provides utilities for joining/splitting strings using sh's word-splitting rules.
src/github.com/kr/pty
Package pty provides functions for working with Unix terminals.
Package pty provides functions for working with Unix terminals.
src/github.com/satori/go.uuid
Package uuid provides implementation of Universally Unique Identifier (UUID).
Package uuid provides implementation of Universally Unique Identifier (UUID).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL