Changeset View
Changeset View
Standalone View
Standalone View
docs/developer-setup.rst
Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Lines | |||||
.. _virtualenvwrapper: https://virtualenvwrapper.readthedocs.io/ | .. _virtualenvwrapper: https://virtualenvwrapper.readthedocs.io/ | ||||
.. _poetry: https://poetry.eustace.io/ | .. _poetry: https://poetry.eustace.io/ | ||||
.. _pipenv: https://pipenv.readthedocs.io/ | .. _pipenv: https://pipenv.readthedocs.io/ | ||||
Install all the swh packages (in develop mode):: | Install all the swh packages (in develop mode):: | ||||
(swh) ~/swh-environment$ pip install $(./bin/pip-swh-packages --with-testing) \ | (swh) ~/swh-environment$ pip install flake8 pifpaf tox wheel | ||||
tox pifpaf flake8 | (swh) ~/swh-environment$ pip install $(./bin/pip-swh-packages --with-testing) | ||||
[...] | [...] | ||||
Executing unit tests | Executing unit tests | ||||
-------------------- | -------------------- | ||||
Unit tests are using the pytest_ framework, and can be executed directly or via | Unit tests are using the pytest_ framework, and can be executed directly or via | ||||
tox_. The main difference between these 2 test execution environments is: | tox_. The main difference between these 2 test execution environments is: | ||||
- When executed via tox_, all the dependencies (including swh ones) are | - When executed via tox_, all the dependencies (including swh ones) are | ||||
installed from pypi_: you test your modifications against the latest | installed from pypi_: you test your modifications against the latest | ||||
▲ Show 20 Lines • Show All 120 Lines • Show Last 20 Lines |