Commit Graph

1172 Commits

Author SHA1 Message Date
Alessio Bogon 36df5b5e69
Add CI action for publishing artifacts to PyPI 2024-09-26 21:07:49 +02:00
Alessio Bogon 8aa7287a0c
Bump version to 8.0.0b1 2024-09-26 20:30:49 +02:00
Alessio Bogon d0d2ce3ed8
Merge pull request #705 from jsa34/non-left-aligned-steps
Add test to ensure steps not left-aligned are handled properly
2024-09-26 20:27:16 +02:00
Jason Allen 0ff18ed76c Remove dedent on the feature file created so it doesn't unintentionally strip the whitespace that we need for the test! 2024-09-26 18:47:05 +01:00
Jason Allen f6840269d6 Update test comment 2024-09-26 18:42:39 +01:00
Jason Allen 04a1f6f080 Add test to ensure steps not left-aligned are handled properly 2024-09-26 18:40:48 +01:00
Alessio Bogon 0d42885b96
Merge pull request #698 from jsa34/gherkin-official-parser
Implement the official gherkin parser
2024-09-21 23:18:11 +02:00
Alessio Bogon 572934c7c1
Update poetry 2024-09-21 23:09:50 +02:00
Alessio Bogon 8378a34728
Remove unused function 2024-09-21 23:05:20 +02:00
Alessio Bogon c12d8c1033
Remove declaration for field that was never initialised 2024-09-21 22:58:11 +02:00
Alessio Bogon ace6ca527b
mypy is passing, require typecheck outcome to be positive 2024-09-21 22:49:39 +02:00
Alessio Bogon 8629438559
Add missing type annotations, and require all files to be typed 2024-09-21 22:48:46 +02:00
Alessio Bogon 0573c6fe8a
Fix typing issue 2024-09-21 22:31:44 +02:00
Alessio Bogon 6fe8e4092f
remove redundant statements 2024-09-21 22:30:58 +02:00
Alessio Bogon 9b263f41ae
Add type annotations 2024-09-21 22:30:50 +02:00
Alessio Bogon 0fe44191c8
Only treat warnings from `pytest_bdd` as exceptions 2024-09-21 22:29:01 +02:00
Alessio Bogon 5f717c4278
Require tests to pass on 3.13 2024-09-21 21:58:54 +02:00
Alessio Bogon 093b6a8bda
Update release notes 2024-09-21 21:58:38 +02:00
Alessio Bogon ca7508b502
Merge branch 'master' into fork/jsa34/gherkin-official-parser 2024-09-21 21:57:49 +02:00
Jason Allen 9801a28b3d Merge branch 'master' into gherkin-official-parser
# Conflicts:
#	CHANGES.rst
2024-09-21 19:31:49 +01:00
Jason Allen 2941d18f4d Merge remote-tracking branch 'origin/gherkin-official-parser' into gherkin-official-parser 2024-09-21 19:26:29 +01:00
Jason Allen 0a7778271f Remove accidentally committed local file.
Fix test file name
2024-09-21 19:24:19 +01:00
Alessio Bogon cec07dfb03
Bump version 7.3.0 2024-09-21 11:50:08 +02:00
Alessio Bogon db00244b4c
Merge pull request #702 from pytest-dev/add-latest-pytests
Add latest pytests to the tox matrix
2024-09-21 11:49:08 +02:00
Alessio Bogon 56d3b33793
Add changelog entry 2024-09-21 11:46:28 +02:00
Alessio Bogon c91bcb3880
Add latest pytests to the tox matrix 2024-09-21 11:45:12 +02:00
Alessio Bogon 9958dfd763
Merge pull request #700 from pytest-dev/fix-multiple-fixture-injection
Fix step fixture injection with multiple steps
2024-09-21 11:42:39 +02:00
Alessio Bogon 865fbe0577
Fix step fixture injection 2024-09-21 11:26:40 +02:00
Alessio Bogon d11096fdad
Fix matching result in case there are warnings 2024-09-16 21:05:13 +02:00
Alessio Bogon 656c7ceff6
Ignore py3.13 failures for now
They are not really failures, just deprecation warnings that we treat as errors.
2024-09-16 20:53:55 +02:00
Alessio Bogon a3a5195a3b
Do not fail the CI job if we can't upload to Codecov.
Also bump codecov-action
2024-09-16 20:49:47 +02:00
Jason Allen 9b45269564 Merge remote-tracking branch 'origin/gherkin-official-parser' into gherkin-official-parser 2024-09-15 13:37:47 +01:00
Jason Allen 2f3acbd0dc Response to feedback and make mypy happy. 2024-09-15 13:37:36 +01:00
Alessio Bogon 7cbfc4757b
Revert string literals to their original form 2024-09-15 11:01:01 +02:00
Alessio Bogon fee0eb9580
Remove default to None 2024-09-14 23:00:57 +02:00
Alessio Bogon 93a11ae120
Fix import (Python < 3.11 compat) 2024-09-14 22:56:07 +02:00
Jason Allen 9c12dbf60f Forgot to fix background in steps and revert test that was skipped 2024-09-12 21:55:19 +01:00
Jason Allen c3008c1deb Couple of tidy ups 2024-09-12 21:39:15 +01:00
Jason Allen 2c8455b519 Response to feedback 2024-09-12 21:34:39 +01:00
Jason Allen becfed2749 Response to feedback 2024-09-12 21:34:29 +01:00
Jason Allen 6676692d86 Use dataclasses and not attr 2024-09-08 23:33:06 +01:00
Jason Allen fec82709c7 Another grammar fix 2024-09-08 23:04:01 +01:00
Jason Allen 21afdb162b Response to feedback 2024-09-08 22:59:23 +01:00
Jason Allen ff1a92606f Fix type hints for py3.8 2024-09-06 18:50:33 +01:00
Jason Allen 57b9e55723 Fix silly mistakes 2024-09-06 17:31:50 +01:00
Jason Allen 4e17ccb217 Move the calculating of given/when/then to pydantic models, as well as removing tabbing from docstring in steps (aka multiline steps) 2024-09-06 17:27:00 +01:00
Jason Allen cc9b37fc7f Move Gherkin parsing to pydantic models for easier future reference of available data and implementing features. 2024-09-06 15:49:49 +01:00
Jason Allen 2f3e029200 Remove unused import 2024-09-06 10:41:25 +01:00
Jason Allen e7b5326a43 Forgot to go back and implement the templated bool 2024-09-06 10:34:17 +01:00
Jason Allen 240ac6d2a8 Fix issues and create a FeatureParser class to consolidate parsing logic 2024-09-05 18:41:47 +01:00