Warning
This tests are in very beta state yet. Before running them you need to perform some steps
- Install RHTAP from https://github.com/redhat-appstudio/rhtap-cli in CI mode
- You need to change this CI value to true.
- Update the environments needed in the default.env file. After you create them just run:
source default.env
- Run installation with
yarn
Before runing tests, you can modify the file softwareTemplates.json manually to meet your RHTAP environment. For instance, if your RHTAP environment is using Github as Git repository and Jenkins as Pipeline provider, you can set them as true
. Both the properties pipeline.version
and priority
are not in use, we leave them here for future use.
To run all tests based on jest confiuration use:
yarn test
To run a single test use: yarn test <test file>
To run a specific group of tests use: yarn test --group=<test group>
(if you wish to exclude a group use: --group=-<test file>
)