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
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
d73fa1edaf
Merge branch 'master' into anonymous-step-funcs
2022-07-15 18:38:38 +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
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
Oleg Pidsadnyi
8008c0f4bc
Given step is no longer a fixture ( #376 )
...
* Removing strict gherkin.
* Update README.rst
* Update CHANGELOG
2020-07-01 11:57:00 +02:00
Oleg Pidsadnyi
76ed2ece2a
Cleanuptests2 ( #370 )
...
* Cleaning up tests
* Changelog entry
2020-06-18 08:36:12 +02:00
Alessio Bogon
6047a35ef1
Apply `black` formatter to the codebase
2019-08-27 17:54:58 +02:00
Alessio Bogon
c298a3edf5
Do not accept regex as step definitions
2019-02-19 13:59:09 +01:00
Anatoly Bubenkov
d1fa804426
Pluggable parsers for step definitions. closes #91
2015-01-07 16:26:20 +01:00