Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multi thread #46

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ py -m venv env
6. pip install pipenv
7. pipenv install
8. run tests:
pipenv run pytest --alluredir=allure-results --browser <firefox/remote/chrome_headless>
pipenv run pytest -n 3 --alluredir=allure-results --browser <firefox/remote/chrome_headless>
if no browser was selected then chrome will be used.
if no threads are given test will run on single thread (-n 3 is 3 threads).
9. view allure results:
allure serve allure-results

Expand Down
22 changes: 19 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,31 +1,47 @@
allure-pytest==2.8.18
allure-python-commons==2.8.18
apipkg==1.5
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what are all these packages for

appdirs==1.4.4
assertpy==1.1
astroid==2.4.2
atomicwrites==1.4.0
attrs==20.2.0
attrs==20.3.0
certifi==2020.6.20
chardet==3.0.4
colorama==0.4.4
configparser==5.0.1
crayons==0.4.0
distlib==0.3.1
execnet==1.7.1
Faker==4.14.0
filelock==3.0.12
idna==2.10
iniconfig==1.1.1
isort==5.6.4
lazy-object-proxy==1.5.1
mccabe==0.6.1
numpy==1.19.3
packaging==20.4
pandas==1.1.4
pipenv==2020.8.13
pluggy==0.13.1
py==1.9.0
pylint==2.6.0
pyparsing==2.4.7
pytest==6.1.1
pytest==6.1.2
pytest-forked==1.3.0
pytest-ordering==0.6
pytest-xdist==2.1.0
python-dateutil==2.8.1
pytz==2020.1
requests==2.24.0
selenium==3.141.0
six==1.15.0
toml==0.10.1
text-unidecode==1.3
toml==0.10.2
urllib3==1.25.11
virtualenv==20.1.0
virtualenv-clone==0.5.4
webdriver-manager==3.2.2
wrapt==1.12.1
xlrd==1.2.0