|setup.py
-# Prerequisite to run the test cases
-Install training manager as python package
+## Prerequisite to run the test cases
+Install training manager itself as python package
pip3 install .
-Example to run test cases.
+## Install modelmetricsdk and featurestoresdk as python packages
+git clone "https://gerrit.o-ran-sc.org/r/aiml-fw/athp/sdk/feature-store"
+git clone "https://gerrit.o-ran-sc.org/r/aiml-fw/athp/sdk/model-storage"
+
+pip3 install feature-store/.
+pip3 install model-storage/.
+
+## Install all python dependecy packages
+pip3 install -r requirements_test.txt
+
+# Example to run test cases.
# Generate test report
sudo python3 -m pytest -rA . --capture=tee-sys --cov-report term-missing --cov-report xml:coverage.xml --cov-report html:htmlcov --junitxml test-reports/junit.xml --cov=./
\ No newline at end of file
basepython = python3.8
deps=
pytest
+ python-pytest
coverage
pytest-cov
connexion
requests
pandas
PyYAML
+ python-dotenv
+ kubernetes
+ pg8000
-setenv = TESTS_BASE_PATH = {toxinidir}/tests
+setenv = cd = {toxinidir}/tests
commands =
+ pip3 install {toxinidir}
+
+ git clone "https://gerrit.o-ran-sc.org/r/aiml-fw/athp/sdk/feature-store"
+ git clone "https://gerrit.o-ran-sc.org/r/aiml-fw/athp/sdk/model-storage"
+
+ pip3 install feature-store/.
+ pip3 install model-storage/.
pytest --cov-append --cov {toxinidir} --cov-report xml --cov-report term-missing --cov-report html
\ No newline at end of file