Name: windows-regression-tests
Owner: Cloud Foundry
Description: null
Created: 2018-02-14 20:45:43.0
Updated: 2018-05-11 18:11:19.0
Pushed: 2018-05-11 18:11:17.0
Homepage: null
Size: 4557
Language: C#
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This suite contains regression tests for Windows specific CF features.
Install golang >= 1.7
. Set up your golang development environment, per
golang.org.
Install the cf CLI
.
Make sure that it is accessible in your $PATH
.
Install curl
Check out a copy of windows-regression-tests
and make sure that it is added to your $GOPATH
.
The recommended way to do this is to run:
et -d code.cloudfoundry.org/windows-regression-tests
You will receive a warning:
no buildable Go source files
.
This can be ignored, as there is only test code in the package.
Install a running Cloud Foundry deployment to run these acceptance tests against.
You must set the environment variable $CONFIG
which points to a JSON file
that contains several pieces of data
that will be used to configure the tests.
The following can be pasted into a terminal
and will set up a sufficient $CONFIG
to run the core test suites.
> integration_config.json <<EOF
pi": "api.env.cf-app.com",
dmin_user": "admin",
dmin_password": "password",
pps_domain": "env.cf-app.com",
um_windows_cells": 1,
kip_ssl_validation": true,
solation_segment_name": "",
tack": "windows2012R2"
rt CONFIG=$PWD/integration_config.json
To execute the tests, run the following from the root directory of windows-regression-tests
:
n/test