`testdir` is deprecated. It's identical to `pytester`, except that
`testdir` returns `py.path` objects whereas `pytester` returns Python
stdlib `Path` objects. So I had to update usages of those paths.
`pytester` was added in pytest 6.2, which is our minimum supported
version.
- Drop python 3.6 because of EOL
- Drop pytest<5 (Actually there wasn't reason to support 4.x version because they are about 3.4/2.7 python support, which already dropped)
- Fix source distribution build
There are small typos in:
- README.rst
- pytest_bdd/cucumber_json.py
- pytest_bdd/reporting.py
- tests/feature/test_background.py
- tests/feature/test_feature_base_dir.py
- tests/scripts/test_main.py
Fixes:
- Should read `execution` rather than `excecution`.
- Should read `reporting` rather than `reportin`.
- Should read `precedence` rather than `precendence`.
- Should read `possibilities` rather than `possibilies`.
- Should read `outlines` rather than `oultines`.
- Should read `other` rather than `othe`.
- Should read `command` rather than `commmand`.
- Should read `background` rather than `backound`.
- Should read `alphanumeric` rather than `alphanumberic`.
- Drop support of python 2.7, 3.5; Add explicit support for python >=3.6
- Remove six dependency
- Simplify getting step parser strategy; If step could be stringified it could be used
- Respect pytest --strict option in tests