Acceptance tests are run as cf push'ed applications that verify connectivity in a real Cloud Foundry environment.
The main pattern is:
cf create-servicethe service instance to testcf bind-servicea writer test app to the provisioned servicecf bind-servicea reader test app to the provisioned service- Check the binding contains CredHub references and not credentials
- Use the writer test app to write some data
- Use the reader test app to read back the data and check it is the same
cf unbind-servicefor both appscf delete-servicethe tested instance
- The Go Programming language
- The Cloud Foundry CLI
- The Azure CLI
- ARM_SUBSCRIPTION_ID
- ARM_CLIENT_SECRET
- ARM_TENANT_ID
- ARM_CLIENT_ID
- A Cloud Foundry instance logged in and targeted
- The Cloud Service Broker and this brokerpak deployed by running
make push-brokeror equivalent