Alessio Bogon
|
b316d68232
|
Fix coverage config.
|
2022-07-27 19:51:25 +02:00 |
Alessio Bogon
|
63a4268b9c
|
Fix bug when 2 steps have the same step name...
... but only one step impl was kept.
|
2022-07-27 17:02:35 +02:00 |
Alessio Bogon
|
cc415d3d1c
|
Remove unused import
|
2022-07-26 18:03:38 +02:00 |
Alessio Bogon
|
91fe7ed33c
|
Fix step detection for generation
|
2022-07-26 18:03:07 +02:00 |
Alessio Bogon
|
14df243323
|
Add coverage to dev dependencies
|
2022-07-26 17:40:41 +02:00 |
Alessio Bogon
|
04131286a6
|
Merge branch 'master' into fix-542
|
2022-07-26 00:27:14 +02:00 |
Alessio Bogon
|
49504d4935
|
Fix typo
|
2022-07-26 00:26:33 +02:00 |
Alessio Bogon
|
96cb467d98
|
Merge pull request #546 from pytest-dev/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
|
2022-07-26 00:25:37 +02:00 |
Alessio Bogon
|
18c05bf92b
|
Remove pytest<6 support logic
|
2022-07-26 00:20:31 +02:00 |
pre-commit-ci[bot]
|
762418e5df
|
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.37.1 → v2.37.2](https://github.com/asottile/pyupgrade/compare/v2.37.1...v2.37.2)
|
2022-07-25 22:19:18 +00:00 |
Alessio Bogon
|
1706700ce6
|
Drop support for pytest < 6.2
|
2022-07-26 00:07:46 +02:00 |
Alessio Bogon
|
8ee02ab5e2
|
Refactor code
|
2022-07-25 23:52:44 +02:00 |
Alessio Bogon
|
f6a78cf375
|
fix typo
|
2022-07-24 19:46:09 +02:00 |
Alessio Bogon
|
020c443941
|
Stub fix for finding the right fixture for step definition
|
2022-07-24 00:02:52 +02:00 |
Alessio Bogon
|
2c8d1552e0
|
Add decoys to the test, hoping to catch many edge cases
|
2022-07-23 11:57:02 +02:00 |
Alessio Bogon
|
a136cf04dc
|
Remove unnecessary defaulting of the param
|
2022-07-23 10:55:38 +02:00 |
Alessio Bogon
|
c0357d5348
|
Merge pull request #536 from pytest-dev/anonymous-step-funcs
Anonymous step funcs
|
2022-07-15 19:12:47 +02:00 |
Alessio Bogon
|
d73fa1edaf
|
Merge branch 'master' into anonymous-step-funcs
|
2022-07-15 18:38:38 +02:00 |
Alessio Bogon
|
adcc48ffa2
|
Merge pull request #539 from pytest-dev/re-fullmatch
Fix `parsers.re` doing only partial string match
|
2022-07-15 18:38:25 +02:00 |
Alessio Bogon
|
fc6333a107
|
Merge branch 'master' into re-fullmatch
|
2022-07-15 18:25:08 +02:00 |
Alessio Bogon
|
5854666686
|
Merge branch 'master' into anonymous-step-funcs
|
2022-07-15 18:24:56 +02:00 |
Alessio Bogon
|
e24aee0028
|
Merge pull request #534 from pytest-dev/reusable-step-functions
Reusable step functions
|
2022-07-15 18:24:40 +02:00 |
Alessio Bogon
|
fa9192dabf
|
Remove TODO for now
|
2022-07-15 18:20:23 +02:00 |
Alessio Bogon
|
8faee6bcd4
|
Remvoe TODO, as we fixed this now
|
2022-07-15 18:19:27 +02:00 |
Alessio Bogon
|
62e60c664d
|
we also need to catch fixture dependencies errors
|
2022-07-15 18:19:05 +02:00 |
Alessio Bogon
|
143dabc71d
|
check step type first, it's less expensive
|
2022-07-15 18:02:46 +02:00 |
Alessio Bogon
|
5c02da2ae7
|
Inline functin _find_step_function
|
2022-07-15 18:01:16 +02:00 |
Alessio Bogon
|
e7c7f54089
|
tighten the try-body so that we catch only in case of step failure
|
2022-07-15 17:55:50 +02:00 |
Alessio Bogon
|
7aca49bb4a
|
Merge branch 'master' into reusable-step-functions
|
2022-07-12 18:59:29 +02:00 |
Alessio Bogon
|
cc1180d158
|
Add reference to the PR
|
2022-07-12 18:58:57 +02:00 |
Alessio Bogon
|
18320bbefc
|
`parsers.re` now does fullmatch.
This makes it work the same way other parsers work (they don't ignore non-matching characters at the end of the string)
|
2022-07-12 18:56:52 +02:00 |
Alessio Bogon
|
31dab364bf
|
Merge pull request #537 from pytest-dev/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
|
2022-07-12 00:06:33 +02:00 |
pre-commit-ci[bot]
|
c2b582ffe0
|
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 22.3.0 → 22.6.0](https://github.com/psf/black/compare/22.3.0...22.6.0)
- [github.com/pre-commit/pre-commit-hooks: v4.2.0 → v4.3.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.2.0...v4.3.0)
- [github.com/asottile/pyupgrade: v2.32.1 → v2.37.1](https://github.com/asottile/pyupgrade/compare/v2.32.1...v2.37.1)
|
2022-07-11 21:57:57 +00:00 |
Alessio Bogon
|
e2b3ad9784
|
`poetry update`
|
2022-07-10 19:51:34 +02:00 |
Alessio Bogon
|
9c3712d70b
|
parser not nullable
|
2022-07-10 17:47:20 +02:00 |
Alessio Bogon
|
b35cad7bdf
|
parser not nullable
|
2022-07-10 17:46:22 +02:00 |
Alessio Bogon
|
8d3f3743de
|
parser not nullable
|
2022-07-10 17:46:03 +02:00 |
Alessio Bogon
|
478e21bcdf
|
Use `_` as step function name. It should not matter what the name is.
Inspired by the `ward` testing framework
|
2022-07-10 17:41:12 +02:00 |
Alessio Bogon
|
f4a7bdfaf1
|
lazy_step_function -> step_function_marker and make it return None
And fix tests, remove useless ones.
|
2022-07-10 17:28:02 +02:00 |
Alessio Bogon
|
1a831b79b8
|
Add test
|
2022-07-10 17:14:12 +02:00 |
Alessio Bogon
|
e3888bf37c
|
Add pytest-xdist to dev dependencies
|
2022-07-10 17:13:45 +02:00 |
Alessio Bogon
|
9f4ddb1c99
|
Fix `target_fixture` being overridden at every step decoration
|
2022-07-10 17:04:21 +02:00 |
Alessio Bogon
|
f5aafe594d
|
Fix buggy fixture discovery.
Items in fixturemanager._arg2fixturedefs are LIFO, not FIFO
|
2022-07-10 16:42:31 +02:00 |
Alessio Bogon
|
b3e0d4ac65
|
Rename variable
|
2022-07-10 15:49:33 +02:00 |
Alessio Bogon
|
9dad1e9063
|
Rename variable
|
2022-07-10 15:35:51 +02:00 |
Alessio Bogon
|
02b16d3547
|
Simplify function
|
2022-07-10 15:34:59 +02:00 |
Alessio Bogon
|
06b3f9997d
|
try-catch only block that can raise
|
2022-07-10 15:31:55 +02:00 |
Alessio Bogon
|
345218dd67
|
Fix typo
|
2022-07-10 15:29:46 +02:00 |
Alessio Bogon
|
a2a94adff1
|
Fix bug where normal steps would take precedence over other parsers.
|
2022-07-10 15:26:01 +02:00 |
Alessio Bogon
|
158d29b9e5
|
Fix typo
|
2022-07-10 15:21:02 +02:00 |