e2e-tests

module
v0.0.0-...-e0aca08 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2026 License: Apache-2.0

README

Red Hat AppStudio E2E Tests and Testing Framework

Testing framework and E2E tests are written in Go using Ginkgo and Gomega frameworks to cover Red Hat AppStudio. It is recommended to install AppStudio in E2E mode, but the E2E suite can be also usable in development and preview modes.

Features

  • Instrumented tests with Ginkgo 2.0 framework. You can find more information in Ginkgo documentation.
  • Ability to run the E2E tests everywhere: locally(CRC/OpenShift local), OpenShift Cluster, OSD...
  • Writes tests results in JUnit XML/JSON file to a custom directory by using --ginkgo.junit(or json)-report flag.
  • Ability to run the test suites separately.

Start running E2E tests

All the instructions about installing Konflux locally/CI and running tests locally/CI can be found in this Documentation, which contains also information about how to pair Pull Requests when breaking changes are introduced.

Start developing tests

To develop new tests in Konflux consider first to reading some tips for a better experience:

Start debugging CI

To onboard a new component in Openshift CI follow this Documentation. To debug CI jobs follow this Documentation.

HAPPY TESTING!

Directories

Path Synopsis
cmd/mage command
pkg
tests
disaster-recovery
backup_infra.go provides tenant infrastructure helpers for the DR test suite: creating tenant namespaces with Applications and Component CRs, deleting namespaces, and rotating ServiceAccount tokens after a Velero restore.
backup_infra.go provides tenant infrastructure helpers for the DR test suite: creating tenant namespaces with Applications and Component CRs, deleting namespaces, and rotating ServiceAccount tokens after a Velero restore.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL