Refactor testing by introducing tox.
Since we have propose to refactor the project
release management by using pbr we now propose with this
commit to refactor testing by using tox[1].
Why using tox? tox introduce virtualenv for testing
and allow to test your project with multiple version
of python in the same time. Also tox is a standard tools
in python community and made the testing more straightforward
for your contributors and maintainers.
This commit introduce:
- introduce requirements file for tests dependancies;
- remove PEP 518 since pbr was introduced and your pyproject.toml was incompatible with tox;
- improve hacking doc by explain to your contributors how to test theirs changes.
Using it:
- install tox (pip install tox);
- launch tests (tox)
tox[1] allow simplify python testing by introducing:
- virtualenv;
- specific targets;
- cross testing;
- integrated with many CI platforms.
In order merge this pull request before => https://pagure.io/python-daemon/pull-request/23
[1] https://tox.readthedocs.io/en/latest/
Co-authored-by: Hobbestigrou hobbestigrou@erakis.eu