-
Install brew e.g. on Mac:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-
Install Python 3.10+. Also it's possible to install with brew:
brew install [email protected]
or use pyenv to manage versions
-
E.g. with pip
pip3.10 install uv
-
Install dependencies
uv sync --extra dev
uv run pre-commit install
-
E.g. with brew:
brew install allure
-
Generate views:
allure generate {path_to_results_folder} --clean
-
Open reports:
allure open
Note: tests should run with --alluredir {path_to_results_folder}
to create allure results, e.g.
--alluredir ./allure-results
-
E.g.:
curl -s https://aerokube.com/cm/bash | bash \ && ./cm selenoid start --vnc --tmpfs 128
-
E.g. with docker:
docker run -d \ --name selenoid \ -p 4444:4444 \ -v /var/run/docker.sock:/var/run/docker.sock \ -v
pwd/config/:/etc/selenoid/:ro \ aerokube/selenoid:latest-release
-
Start selenoid UI E.g. with docker:
docker run -d --name selenoid-ui \ --link selenoid \ -p 8082:8080 \ aerokube/selenoid-ui --selenoid-uri=http://selenoid:4444
-
Open in browser selenoid UI
-
If is needed pull docker browser images.
E.g.:
docker pull selenoid/vnc:firefox_57.0
invoke tests
invoke tests-coverage
invoke check-style
invoke isort
Release management is handled using bump2version
. The below commands will tag
a new release. This will also update the helm chart version, this should not be
manually changed.
$ invoke bump-patch
$ invoke bump-minor
$ invoke bump-major
> vX.Y.Z