RT is a lightweight autotests runtime using Docker to isolate test cases.
- Build container with Maven:
$ pushd runner
$ ./build-container.sh maven
$ popd
- Create directory to store test results:
$ mkdir ~/test-results
- Start RT:
$ ./rt -conf config/test-config.json -data-dir ~/test-results
- Launch tests using predefined JSON:
$ curl -vvv --data '@api/test-launch.json' http://localhost:8080/launch
$ go get -u github.com/kardianos/govendor
- Get source:
$ go get -d github.com/aerokube/rt
- Go to project directory:
$ cd $GOPATH/src/github.com/aerokube/rt
- Checkout dependencies:
$ govendor sync
- Build source:
$ go build
- Run Selenoid:
$ ./rt --help
- To build Docker container type:
$ GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build
$ docker build -t rt:latest .