fabric8-jenkins / godog-jenkins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test project for fabric8 Jenkins using Godog

This test project connects to a running Jenkins instance and runs a number of feature level tests. You will need to set some environment variables before running the tests.

To run these tests against a fabric8 installation then run the following command:

eval $(gofabric8 bdd-env)

Or set the following environment variables:

export BDD_JENKINS_URL=http://your.jenkins.io
export BDD_JENKINS_TOKEN=abcd1234
export BDD_JENKINS_USERNAME=jrawlings

If testing against OpenShift then you can use your beearer token:

BDD_JENKINS_BEARER_TOKEN=abcd123
export BDD_JENKINS_URL=http://your.jenkins.io

And github:

export GITHUB_USER=rawlingsj
export GITHUB_PASSWORD=myPersonalAccessTokenGoesHere

Now run:

go get github.com/DATA-DOG/godog/cmd/godog
go get github.com/fabric8-jenkins/godog-jenkins
cd $GOPATH/src/github.com/fabric8-jenkins/godog-jenkins/jenkins/

And trigger the tests:

cd jenkins
godog

About


Languages

Language:Go 89.1%Language:Gherkin 6.5%Language:Makefile 4.4%