Commit Graph

30 Commits

Author SHA1 Message Date
Alessio Bogon ca2ade7eed Trying to get coverage report showing the coverage for the source files 2022-11-05 14:06:54 +01:00
Alessio Bogon e7007eaeff Bump all dev dependencies 2022-11-05 10:15:20 +01:00
Alessio Bogon 11e1e23e62 Use dynamic context in coverage (shows what test function uses which line) 2022-11-05 10:12:43 +01:00
Alessio Bogon 1ebbf1e5ed Update black config 2022-11-05 10:07:57 +01:00
Alessio Bogon e6ada53347 Update poetry.loc, use new-style pyproject.toml (poetry 1.2) 2022-11-05 10:06:23 +01:00
David Röthlisberger 8123f7ab83 Drop dependency on glob2
The standard library's `glob` supports "**" since Python 3.5.
pytest-bdd requires Python >= 3.7.
2022-11-03 21:25:14 +00:00
Alessio Bogon d080736898 Fix coverage config 2022-08-14 11:19:12 +02:00
Alessio Bogon 8a2074308f Fix mypy config 2022-08-14 10:36:52 +02:00
Alessio Bogon 9ecf4bf98e Update deps 2022-08-14 10:05:24 +02:00
Alessio Bogon bf88c44ff4 Update dependencies 2022-07-30 12:15:22 +02:00
Alessio Bogon a7b75a96a0 Add pygments 2022-07-30 12:13:21 +02:00
Alessio Bogon 31122fad7c Need to use coverage[toml] on CI 2022-07-27 20:09:56 +02:00
Alessio Bogon b316d68232 Fix coverage config. 2022-07-27 19:51:25 +02:00
Alessio Bogon 14df243323 Add coverage to dev dependencies 2022-07-26 17:40:41 +02:00
Alessio Bogon 1706700ce6 Drop support for pytest < 6.2 2022-07-26 00:07:46 +02:00
Alessio Bogon e3888bf37c Add pytest-xdist to dev dependencies 2022-07-10 17:13:45 +02:00
Alessio Bogon b3e0d4ac65 Rename variable 2022-07-10 15:49:33 +02:00
Alessio Bogon 54a85c9e94 Add types-setuptools to dev dependencies 2022-07-08 22:02:44 +02:00
Alessio Bogon e16fca0868 Use poetry 2022-07-08 15:56:47 +02:00
Alessio Bogon 32bb62f3e6 Add github action to run mypy 2022-02-24 16:52:23 +01:00
Alessio Bogon 4fd1ab950c Merge remote-tracking branch 'origin/master' into add-type-annotations
# Conflicts:
#	pytest_bdd/parser.py
#	pytest_bdd/scenario.py
2022-02-24 14:04:24 +01:00
Alessio Bogon d9540fd75c Simplify tox matrix, do not pin parse_type dependency.
We don't need to pin parse_type, we can just allow any version that the user has.
2022-02-22 16:58:26 +01:00
Konstantin Goloveshko b05dbe0aec Update python environment
- 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
2022-02-01 22:34:05 +02:00
Alessio Bogon 78cf86af32 Fix many types 2021-10-20 17:15:03 +02:00
Alessio Bogon 33729841eb Tell mypy to ignore libraries without stubs 2021-10-20 16:22:24 +02:00
Alessio Bogon ef8845174a Add mypy to testing requirements and add mypy config 2021-10-20 16:14:16 +02:00
Alessio Bogon 379cb4b47c
Rewrite scenario/feature examples logic (#445)
* rewrite examples subsitution using templating

* Remove “example_converters”

* Remove "expanded" option. It's now the default

* Add utility functions to be able to inspect tests run by the pytester.

* use better timer

* Fix typos

* Fix and simplify tests

* Update to latest python 3.10 version

* Add isort configuration and pre-commit hook

* Fix imports

* Fix types

* Update changelog

* Update README (mainly fix typos, remove outdated options)

* Fix examples in README

* Remove python2 junk

Co-authored-by: Oleg Pidsadnyi <oleg.pidsadnyi@gmail.com>
2021-09-23 21:07:15 +02:00
Alessio Bogon 3dce929a77 Version 4.1.0 (also fix the way we release) 2021-07-03 10:58:04 +02:00
Konstantin Goloveshko e1dc0cad9a Update python and pytest
- 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
2021-03-02 19:08:00 +02:00
Alessio Bogon c7002a4862 Use black style and other pre-commit hooks.
Plugins added:
black
trailing-whitespace
end-of-file-fixer
check-yaml
2019-08-27 17:54:58 +02:00