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:
go get -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.
Test Configuration
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.
Windows Regression Tests
This suite contains regression tests for Windows specific CF features.
Test Setup
Prerequisites for running WRTs
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-testsand make sure that it is added to your$GOPATH. The recommended way to do this is to run: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.
Test Configuration
You must set the environment variable
$CONFIGwhich 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
$CONFIGto run the core test suites.Test Execution
To execute the tests, run the following from the root directory of
windows-regression-tests: