Commit Graph

991 Commits

Author SHA1 Message Date
Alessio Bogon 3c47eb920a
Update README.rst 2022-12-01 20:05:07 +01:00
Konstantin Kotenko 9044386917
wording in documentation 2022-12-01 18:30:01 +01:00
Konstantin Kotenko 507b084d76
formatting in documentation 2022-12-01 18:29:23 +01:00
Konstantin Kotenko 796a94901d
grammar changes in documentation 2022-12-01 18:28:07 +01:00
Alessio Bogon 5eba5d646f
Merge pull request #586 from pytest-dev/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2022-11-29 08:59:20 +01:00
pre-commit-ci[bot] e38f9d776c
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.4.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.3.0...v4.4.0)
2022-11-29 02:01:29 +00:00
Alessio Bogon b9baf929ef
Merge pull request #582 from pytest-dev/pre-commit-ci-update-config 2022-11-15 15:50:29 +01:00
pre-commit-ci[bot] 6caabb4b7d
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v3.2.0 → v3.2.2](https://github.com/asottile/pyupgrade/compare/v3.2.0...v3.2.2)
2022-11-15 00:17:17 +00:00
Alessio Bogon 0ec8b7e56b
Merge pull request #580 from pytest-dev/remove-usage-pkg_resources
Remove logic for old unsupported pytest
2022-11-12 19:55:23 +01:00
Alessio Bogon 5d8eda3a30 Remove logic for old unsupported pytest 2022-11-12 15:53:38 +01:00
Alessio Bogon d3e840711b Merge branch '6.x' 2022-11-08 18:19:30 +01:00
Alessio Bogon 91e9623bbc bump version 2022-11-08 18:01:16 +01:00
Alessio Bogon 4d44c88863 Add regression test 2022-11-08 18:00:51 +01:00
Alessio Bogon 34014cc9f3 Update changelog 2022-11-08 17:46:02 +01:00
Sherzod Karimov 7340cc11f0 call after scenario hook after all steps
(cherry picked from commit ec243313c8)
2022-11-08 17:43:45 +01:00
Alessio Bogon c3b8cd0826
Merge pull request #577 from skarimo/sherz/fix-after-scenario-hook
Call `pytest_bdd_after_scenario` hook after all steps have finished
2022-11-08 17:42:12 +01:00
Sherzod Karimov ec243313c8 call after scenario hook after all steps 2022-11-07 16:29:10 -05:00
Alessio Bogon 780a6777e9 Add new entries to .gitignore 2022-11-05 15:23:19 +01:00
Alessio Bogon a3adc78ab6 Merge branch '6.x'
# Conflicts:
#	CHANGES.rst
2022-11-05 15:23:01 +01:00
Alessio Bogon e5f2134507 6.1.0 release 2022-11-05 15:17:58 +01:00
Alessio Bogon e7ab63b4d3 Fix changelog, showing backwards incompatible change 2022-11-05 15:15:45 +01:00
Alessio Bogon 7eaa3fc2c0 Re-add "`parsers.re` now does fullmatch.""
This reverts commit 1d84d291d9.
2022-11-05 15:14:28 +01:00
Alessio Bogon 1d84d291d9 Revert "`parsers.re` now does fullmatch."
This reverts commit 18320bbe
This reverts commit cc1180d1
2022-11-05 15:12:49 +01:00
Alessio Bogon b915c2a0a1
Merge pull request #576 from pytest-dev/ci-improvements 2022-11-05 14:48:53 +01:00
Alessio Bogon 40a041ffba Let's start fixing DeprecationWarnings 2022-11-05 14:28:37 +01:00
Alessio Bogon 3bbdbb3b69 disable spinner, otherwise the logs are just spam 2022-11-05 14:25:43 +01:00
Alessio Bogon 922fab58f2 Merge remote-tracking branch 'origin/master' into ci-improvements 2022-11-05 14:24:18 +01:00
Alessio Bogon d9c66bdd42 Run tests in parallel in CI 2022-11-05 14:23:59 +01:00
Alessio Bogon 69defd4296
Merge pull request #569 from pytest-dev/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2022-11-05 14:23:41 +01:00
Alessio Bogon 1d88511ac3
Merge branch 'master' into pre-commit-ci-update-config 2022-11-05 14:19:46 +01:00
Alessio Bogon ef05a54303
Merge pull request #574 from pytest-dev/update-ci
Update pythons, pytests, CI
2022-11-05 14:13:06 +01:00
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 aa036b165d Need to have `coverage` available to run `coverage xml` 2022-11-05 12:35:13 +01:00
Alessio Bogon 86ab682821 Need to generate the xml, as codecov actions won't 2022-11-05 10:42:30 +01:00
Alessio Bogon 79636aecc7 Fix typo 2022-11-05 10:29:00 +01:00
Alessio Bogon 64f21bef14 Update github actions 2022-11-05 10:24:30 +01:00
Alessio Bogon 3278934277 Switch to the new way to upload coverage (using the PYPI packages was deprecated) 2022-11-05 10:21:20 +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
Alessio Bogon 25c14fdbff Use stable python 3.11, add pytest 7.2 to the test pipeline 2022-11-05 09:56:15 +01:00
Alessio Bogon 2a649afa10
Merge pull request #573 from drothlis/rootdir 2022-11-04 20:09:50 +01:00
David Röthlisberger df7af76c6c Add changelog entry for bdd_features_base_dir change 2022-11-04 19:04:29 +00:00
David Röthlisberger 3243232fb0 bdd_features_base_dir is relative to pytest rootdir
The pytest rootdir is the directory containing pytest.ini (or similar):
https://docs.pytest.org/en/latest/reference/customize.html#rootdir

This allows you to run pytest when the current working directory isn't
the same as the directory containing the tests. I need to do that
because in my system, the directory containing the tests is on a
read-only filesystem.
2022-11-04 10:42:40 +00:00
Alessio Bogon ab9903b8dd
Merge pull request #572 from drothlis/pytester
tests: Use `pytester` fixture instead of `testdir`
2022-11-04 11:33:10 +01:00
David Röthlisberger 0bcb4b86b2 tests: Fix typing import 2022-11-04 09:51:48 +00:00
David Röthlisberger c8677a7783 tests: Use `pytester` fixture instead of `testdir`
`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.
2022-11-04 08:53:07 +00:00
Alessio Bogon 3f6dc8744f
Merge pull request #570 from drothlis/drop-glob2 2022-11-03 22:39:40 +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