Closed aufi closed 1 year ago
Hub API tests can work on "disconnected" hub as well as on running Konveyor application. It should make sense run these tests as part of the CI.
Details and example: https://github.com/konveyor/tackle2-hub/tree/main/test
$ export HUB_BASE_URL="http://$(minikube ip)/hub" $ export HUB_PASSWORD=="admin" #(optional) $ export HUB_PASSWORD="..." #(optional) $ go test -v ./test/api/
Will be implemented with https://github.com/konveyor/go-konveyor-tests/issues/22.
Hub API tests can work on "disconnected" hub as well as on running Konveyor application. It should make sense run these tests as part of the CI.
Details and example: https://github.com/konveyor/tackle2-hub/tree/main/test