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
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
bfefabeb27
Some more test cleanup ( #375 )
...
* Some more test cleanup
* Docs updated
2020-06-24 09:24:04 +02:00
Oleg Pidsadnyi
76ed2ece2a
Cleanuptests2 ( #370 )
...
* Cleaning up tests
* Changelog entry
2020-06-18 08:36:12 +02:00
Oleg Pidsadnyi
6ba231fbe3
Converting tests ( #367 )
...
* Converting tests to use the correct pytest methodology for plugins
2020-06-14 12:16:09 +02:00
Alessio Bogon
6047a35ef1
Apply `black` formatter to the codebase
2019-08-27 17:54:58 +02:00
Oleg Pidsadnyi
7c6ba36ffc
Fixes #201 and pytest compatibility. ( #232 )
...
* Fixes #201 and pytest compatibility.
* Review comments
2018-01-23 20:43:43 +01:00
Anatoly Bubenkov
27d8e1c382
step fixture injection
2015-05-24 10:17:17 +02:00
Anatoly Bubenkov
83e8a9def7
Allow to pass scope for given steps. closes #109
2015-04-07 18:40:45 +02:00
Oleg Pidsadnyi
7fcd7e2eba
Refactor of the feature step, reporting and fix for the multiline background steps.
2014-11-09 12:56:50 +01:00
Anatoly Bubenkov
c0ae33a241
move to single decorator
2014-03-14 14:15:04 +01:00
Oleg Podsadny
b4e9b48d9d
fixes fixtures usage
2013-04-15 17:44:26 +02:00
Oleg Podsadny
e17e91d2c8
given reuse implemented
2013-04-10 00:54:38 +02:00