This repository contains application-level tests for Konveyor. That means test focusing on integration of multiple components and real-world Koveyor use-cases. Basic components tests should be placed and executed in their own repositories.
Test are organized in packages/directories by the high-level Konveyor features.
Tests require running Konveyor/MTA installation (e.g. Minikube works great for test development purposes).
Background for this test suite come from Hub API tests konveyor/tackle2-hub#268.
Application Analysis integration test example: https://github.com/konveyor/tackle2-hub/blob/main/test/integration/applications-inventory/analysis/windup_basic_test.go
Full hub provided test "framework": https://github.com/konveyor/tackle2-hub/pull/268/files#diff-fcd2bf711a00447192da2d46171f15d0bb6302397b523e0ba92ac9f61bbb8ff7
git clone https://github.com/aufi/go-konveyor-tests && cd go-konveyor-tests
$ make setup # start minikube&tackle using David's scripts - local env only
$ make test
Run test manually example:
$ export HUB_BASE_URL="http://`minikube ip`/hub"
$ go test -v analysis/windup_basic_test.go
Component | CI (after merge) | Nightly (cron) |
---|---|---|
Hub | ||
UI | - | |
Addon Windup | - | |
E2E API | ||
E2E UI |
Refer to Konveyor's Code of Conduct here.