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 RHTAP 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 RHTAP 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!