internal/

directory
v0.0.0-...-ea4a84b Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2018 License: MPL-2.0

README

ErnestProvider end to end test suite

This library is provided with a test suite to test connectors against the real end provider.

Structure

It's divided by provider and resource, so each resource provider can be tested independently.

This software is built on top of gucumber, so if you want to have specific information about it, please visit the project page.

Gucumber basically allows you to run tests with

$ gucumber

or specific tests with tagging support

$ gucumber --tags=@azure

Setup

You'll first need gucumber, we've easily packaged on a Makefile, so all you need to do to get it working is run make dev-deps

Additionally each provider may need specific environment variables to work. See the sections bellow to know what are these environment variables.

Azure specific setup
export AZURE_TENANT_ID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
export AZURE_CLIENT_ID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
export AZURE_CLIENT_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
export AZURE_SUBSCRIPTION_ID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
export AZURE_ENVIRONMENT=public

Directories

Path Synopsis
features

Jump to

Keyboard shortcuts

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