NextZen Functional Automation Core Framework
The structure
| nextzencore |-- api //< api core classes |-- config //< general configuration classes |-- database_connections //< build database connection classes |-- ui //< ui core classes | |-- config //< ui config classes | |-- driver //< build WebDriver instance class | |-- hooks //< ui utilities classes | |-- page //< PAGE OBJECT MODAL generic classes | tests //< test examples | README.md //< Starting guideline | setup.py //< Package information
Required tools
setuptools and twine for publishing Python packages:
pip install setuptools pip install twine
Build steps
-
Edit the version in setup.py:
version=<new_version_number>
-
Build:
python setup.py sdist bdist_wheel
-
Push to test pypi repo for testing purpose:
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
-
Push to pypi repo:
twine upload dist/*
-
Review using this link:
https://pypi.org/project/nextzencore/<new_version_number>/