This repository has been archived by the owner on Mar 30, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Conformance Test Setup
robbaronbu edited this page Jun 8, 2017
·
5 revisions
UP https://github.com/CCI-MOC/moc-public/wiki/Testing-OpenShift
ref: https://github.com/openshift/svt/tree/master/conformance
To install the Conformance tests:
1) clone the repository
git clone https://github.com/openshift/svt.git
2) install go
download latest https://golang.org/dl/
wget https://storage.googleapis.com/golang/go1.6.3.linux-amd64.tar.gz
tar xzvf go1.6.3.linux-amd64.tar.gz
system wide install
sudo mv go /usr/local/
add system wide path
sudo vi /etc/profile
add this to bottom
export PATH=$PATH:/usr/local/go/bin
export GOPATH=/usr/local/go/dev
export PATH=$PATH:$GOPATH/bin
reload
source /etc/profile
test go
go version
3) install ginkgo
go get github.com/onsi/ginkgo/ginkgo
4) install atomic-openshift-tests
atomic-openshift-excluder unexclude
yum -y install atomic-openshift-tests
atomic-openshift-excluder exclude
5) run the tests
cd ./svt/conformance
./svt_conformance