End-to-End tests for AIOps
Poetry is used for managing the Python dependencies. To install the dependencies, run the following command:
poetry install
- Add your CDO token in
.env
file located at the project root directory. - Download and install promtool and mimirtool by running the shell scripts located in the
utils
directory.
cd utils
sh ./download_prometheus.sh
sh ./download_mimirtool.sh
If you are using PyCharm full-version, you can right-click and run the feature file.
If you want to run it through the terminal, you can run the following command:
# To run all the features
poetry run behave
# To run a specific feature
poetry run behave features/000_Onboard.feature