Nyet: Not YETI
CloudFoundry uses YETI test suite for broad functionality testing.
Nyet stands for Not YETI and is a fast and simple way to test whether CloudFoundry deployment was successful.
Nyet failure indicates a bad deployment.
Nyet CRUDs a single Sinatra application.
~/workspace/deployments-aws/[workstation name]directory for a
Source that file to read in the environment variables (which are declared below)
If that file doesn't exist, create it! you get the user/pass from
cf-aws.yml(the scim admin user)
You will need
gcfin your $PATH for the loggregator_spec to work.
Running Against an Existing Organization
Provide existing organization and user. You do not have to provide admin credentials! (This is recommended way to run against production environment.)
NYET_TARGET="http://api.target.com" NYET_ORGANIZATION_NAME="some-org-name" NYET_REGULAR_USERNAME="username" NYET_REGULAR_PASSWORD="password"
Running Without Existing Organization
Provide admin credentials and regular user credentials. Admin credentials
will be used to create and delete
nyet-org-* organization for every test run.
NYET_TARGET="http://api.target.com" NYET_ADMIN_USERNAME="admin-username" NYET_ADMIN_PASSWORD="admin-password" NYET_REGULAR_USERNAME="username" NYET_REGULAR_PASSWORD="password"
NYET_APPS_DOMAINallows to specify domain that serves nyet apps
NYET_RAISE_ALL_ERRORSturns on aggressive error reporting
NYET_TRACEwill enable CFoundry client trace (which goes to stderr)
Several data points can be recorded to DataDog account. Provide following environment variables to turn it on:
NYET_DATADOG_API_KEY="api-key" NYET_DATADOG_APP_KEY="app-key" DEPLOYMENT_NAME="deployment-name"