BDD tests for Jenkins X using ginkgo
- golang https://golang.org/doc/install#install
- a Jenkins X installation
make bootstrap
will install ginkgo gomega and dep
If you are running the tests locally you probably want to set:
export GIT_ORGANISATION="my_cool_github_username"
Then to run all the tests in parallel:
make test-parallel
If you want the sequential version (You may be some time):
make test
Or you can run an individual spec like this:
make test-quickstart-golang-http
GIT_PROVIDER_URL
the git provider URL to test against. e.g. your GitHub Enterprise or BitBucket URLJX_DISABLE_CLEAN_DIR
set totrue
to disable cleaning up of the temporary work directoriesJX_DISABLE_DELETE_APP
set totrue
to disable deleting of the app from Jenkins X after a testJX_DISABLE_DELETE_REPO
set totrue
to disable deleting of the repo from Jenkins X after a testJX_DISABLE_TEST_PULL_REQUEST
set totrue
to disable testing the PR workflowJX_DISABLE_WAIT_FOR_FIRST_RELEASE
set totrue
to disable waiting for the first release pipeline to complete. Handy if you are testing/debugging the Pull Request flow as it speeds up the test