Commit Graph

1462 Commits

Author SHA1 Message Date
Alessio Bogon b5836f6ebd
Merge pull request #731 from pytest-dev/test-on-the-built-artifact
Upload to PyPI the same dist that we tested on
2024-10-30 19:11:32 +01:00
Alessio Bogon f8c2a01e4c
do not use global install of poetry in tox[mypy] 2024-10-30 18:59:32 +01:00
Alessio Bogon e7ed3281d9
Test against the artifact that we will upload to PyPI 2024-10-30 18:59:32 +01:00
pre-commit-ci[bot] e4e627afd3
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v3.18.0 → v3.19.0](https://github.com/asottile/pyupgrade/compare/v3.18.0...v3.19.0)
2024-10-28 23:27:53 +00:00
Alessio Bogon a12fa3b302
Bump tox 2024-10-27 17:04:03 +01:00
Alessio Bogon 368994d281
Reindent yaml 2024-10-27 15:38:12 +01:00
Alessio Bogon dcafea0e01
Merge pull request #725 from pytest-dev/implement-localisation 2024-10-25 22:24:51 +02:00
Alessio Bogon 2a402c6062
Merge pull request #730 from pytest-dev/fix-typing-for-setdefault
Fix typing for `setdefault`
2024-10-25 22:08:38 +02:00
Alessio Bogon 01b8b88974
Fix typing for `setdefault` 2024-10-25 21:58:16 +02:00
Alessio Bogon 06b4cca903
Fix test 2024-10-25 21:14:53 +02:00
jsa34 bc17e8d53c
Update src/pytest_bdd/scenario.py
Co-authored-by: Alessio Bogon <778703+youtux@users.noreply.github.com>
2024-10-24 18:25:12 +01:00
jsa34 2221b85934
Update tests/feature/test_rule_example_format.py
Co-authored-by: Alessio Bogon <778703+youtux@users.noreply.github.com>
2024-10-24 18:24:43 +01:00
jsa34 11f48d9530
Update tests/feature/test_rule_example_format.py
Co-authored-by: Alessio Bogon <778703+youtux@users.noreply.github.com>
2024-10-24 18:24:35 +01:00
jsa34 d6a49e01ec
Update tests/feature/test_rule_example_format.py
Co-authored-by: Alessio Bogon <778703+youtux@users.noreply.github.com>
2024-10-24 18:24:25 +01:00
jsa34 2895f707c1
Update tests/feature/test_gherkin_terminal_reporter.py
Co-authored-by: Alessio Bogon <778703+youtux@users.noreply.github.com>
2024-10-24 18:24:11 +01:00
jsa34 c416fc28b9
Update README.rst
Co-authored-by: Alessio Bogon <778703+youtux@users.noreply.github.com>
2024-10-24 18:22:04 +01:00
Alessio Bogon 0bd8126b6d
Fix tests 2024-10-24 19:12:19 +02:00
Alessio Bogon 342cf5edcf
Add changelog entry 2024-10-24 19:03:39 +02:00
Alessio Bogon c7482f3639
Add `language` to Cucumber JSON output 2024-10-24 19:02:32 +02:00
Alessio Bogon b2594d61ee
Merge remote-tracking branch 'origin/master' into implement-localisation 2024-10-24 18:38:47 +02:00
Jason Allen 99ac5b9ef5 Test content of gherkin terminal output 2024-10-20 18:59:17 +01:00
Jason Allen c5028f2303 Add rule feature
Add changelog entry
Add README entry
Add tests
2024-10-20 18:51:40 +01:00
Alessio Bogon c92f8a6b1d
Merge pull request #727 from jsa34/propogate-keywords-from-parser 2024-10-20 15:00:46 +02:00
jsa34 961f98a5f9
Update CHANGES.rst
Missing bracket
2024-10-20 13:58:06 +01:00
jsa34 3faab809fd
Update CHANGES.rst
Clearer maybe?
2024-10-20 13:57:09 +01:00
jsa34 9061eacc00
Update CHANGES.rst
Add changes to use gherkin keywords from parser
2024-10-20 13:51:19 +01:00
Jason Allen 38e112ee33 Add test for keyword aliases 2024-10-20 11:54:20 +01:00
Jason Allen 6805f9c90c Don't hardcode keywords 2024-10-20 10:43:23 +01:00
Alessio Bogon 7151234efc
Implement localisation support 2024-10-19 21:40:44 +02:00
Alessio Bogon 00916ff00c
Add Issue templates 2024-10-19 17:55:37 +02:00
Alessio Bogon 6503691279
Merge pull request #723 from pytest-dev/remove-strict
Fix references to "strict" options
2024-10-19 17:47:03 +02:00
Alessio Bogon a10b5a4217
Merge pull request #722 from pytest-dev/do-not-strip-comments-from-step-names
Do not strip comments from step names
2024-10-19 17:26:09 +02:00
Alessio Bogon 4b437c7cc2
Remove mention of "strict Gherkin" mode, now that it's the only mode 2024-10-19 17:24:49 +02:00
Alessio Bogon 8a937e00a9
Remove useless test 2024-10-19 17:23:28 +02:00
Alessio Bogon ab5bec03f7
Mention the correct `--strict-markers` flag, now that `--strict` was removed from pytest 8 2024-10-19 17:23:18 +02:00
Alessio Bogon 43d062b346
Fix changelog entries 2024-10-19 17:18:36 +02:00
Alessio Bogon 74f1a39c53
Remove irrelevant code 2024-10-19 17:15:18 +02:00
Alessio Bogon 48e51caf35
Extend scenario/step comments tests 2024-10-19 17:07:10 +02:00
Alessio Bogon 5fbf553883
Merge remote-tracking branch 'origin/master' into do-not-strip-comments-from-step-names
# Conflicts:
#	src/pytest_bdd/parser.py
2024-10-19 16:55:41 +02:00
Alessio Bogon 34024507bd
Merge pull request #717 from jsa34/docstrings
Docstrings
2024-10-17 08:15:18 +02:00
Jason Allen 1278cd9fa8 Update tests based on feedback 2024-10-17 06:34:42 +01:00
Alessio Bogon e3baf307cf
Fix tests 2024-10-16 23:19:15 +02:00
Alessio Bogon e226c17597
Update changelog 2024-10-16 23:18:00 +02:00
Alessio Bogon b033af6014
Update readme to remove comments in step names 2024-10-16 22:13:31 +02:00
Alessio Bogon d274665208
Do not strip comments from step names
Otherwise we wouldn't be gherkin compliant
2024-10-16 21:53:57 +02:00
jsa34 3c3fa77ffb
Merge branch 'master' into docstrings 2024-10-16 06:59:27 +01:00
Jason Allen 94772f9495 Remove fix to expose kwargs 2024-10-15 22:25:52 +01:00
Jason Allen 8fe17df22a Fix making datatable and docstring available as kwargs 2024-10-15 21:56:18 +01:00
Alessio Bogon 336f6e1a18
Add py313 to black target versions 2024-10-15 20:25:59 +02:00
Alessio Bogon 9b08c03487
Merge pull request #720 from pytest-dev/linters
Add flake8 linters
2024-10-15 20:23:31 +02:00