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.
- 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.
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.
To develop new tests in RHTAP consider first to reading some tips for a better experience:
- Basic tips to write readable tests. Documentation.
- How to auto generate tests. Documentation.
To onboard a new component in Openshift CI follow this Documentation. To debug CI jobs follow this Documentation.
HAPPY TESTING!