Skip to content
The test runner for acceptance tests
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github scaffold project Feb 21, 2019
chart/octopus Add helm chart (#20) Apr 8, 2019
cmd/manager scaffold project Feb 21, 2019
config Implement selecting tests by names (#23) Apr 16, 2019
docs Implement selecting tests by names (#23) Apr 16, 2019
hack scaffold project Feb 21, 2019
kubectl
pkg
.gitignore scaffold project Feb 21, 2019
CODEOWNERS scaffold project Feb 21, 2019
CODE_OF_CONDUCT.md scaffold project Feb 21, 2019
CONTRIBUTING.md scaffold project Feb 21, 2019
Dockerfile scaffold project Feb 21, 2019
Gopkg.lock
Gopkg.toml The simplest controller implementation (#6) Mar 6, 2019
LICENSE
Makefile The simplest controller implementation (#6) Mar 6, 2019
NOTICE.md scaffold project Feb 21, 2019
PROJECT scaffold project Feb 21, 2019
README.md

README.md

Octopus

Overview

Octopus is a testing framework that allows you to run tests defined as Docker images on a running cluster. It was created to replace the helm test by providing these additional features:

  • Selective testing, which is especially useful for local development when you want to execute only tests that local changes can affect.
  • Automatic retries on failed tests, which is a remedy for flaky tests.
  • Running tests multiple times, which is helpful when you add a new test and you want to validate if it is stable, or when you want to reproduce a problem that occurs on CI.
  • Full support for concurrent testing, which allows you to specify how many tests should be executed at the same time.

Octopus provides extensions for kubectl. For more information, read this document.

Prerequisites

Use the following tools to set up the project:

Installation

To install the Octopus helm chart on a cluster, run the following command:

helm install ./chart/octopus/ --name={release name} --namespace={namepsace}

Development

Install dependencies

This project uses dep as the dependency manager. To install all required dependencies, use the following command:

make resolve

Run tests

To test your changes before each commit, use the following command:

make validate

Upgrade chart

Chart chart/octopus is upgraded manually, by copying respective files from the config directory.

You can’t perform that action at this time.