Switch branch to see contents of each session
- Visit the Wiki page for more information.
Project is managed by Python Poetry, it is a tool for dependency management and packaging in a Python-based project.
pip install poetry
Common test library is separated out from the test cases repository, it is a reusable library for other test repos. It is built and installed as a Python package.
git clone https://github.com/NDViet/test-automation-fwk-python.git
cd test-automation-fwk-python
poetry install
poetry build
Notes: replace the module name if yours is different
pip install --force-reinstall --find-links=dist ndviet_test_automation
Test library module and dependencies belong to (include Robot Framework) is installed globally, it is available for any projects.
Activate in-project virtualenv
.venv/Scripts/activate
Install the wheel package
pip install --force-reinstall --find-links=dist ndviet_test_automation
Check list of installed packages (results will be different between global and virtualenv)
pip list
To deactivate the virtualenv
deactivate
Export requirements.txt
file
poetry export --without-hashes --format=requirements.txt --output=requirements.txt