pytest-dev / pytest-bdd

BDD library for the py.test runner
https://pytest-bdd.readthedocs.io/en/latest/
MIT License
1.27k stars 213 forks source link

Datatables #150

Open garlicPasta opened 8 years ago

garlicPasta commented 8 years ago

Hello, support for datatables would be a big help. See following example from the cucumber reference. https://cucumber.io/docs/reference#data-tables

Thanks a lot.

bubenkoff commented 8 years ago

makes sense indeed thanks for suggestion i'll work on it

PatrickMassot commented 8 years ago

Is there any progress on this issue? It seems rather important to me, especially because of #157 which prevents bypassing data tables by repeated use of the same Given step. Or is there any way to get the equivalent of https://cucumber.io/docs/reference#data-tables using what's already in pytest_bdd?

mbarakaja commented 8 years ago

:+1: for this feature. I coming from python behave and this feature is really useful

bubenkoff commented 8 years ago

I don't have time unfortunately

mogthesprog commented 4 years ago

any chance we can get some reviews on this or get it merged? @bubenkoff

mogthesprog commented 4 years ago

for anyone interested, there's a workaround here

https://github.com/pytest-dev/pytest-bdd/pull/180#issuecomment-354878090

gnikonorov commented 4 years ago

Hey @olegpidsadnyi do you mind if I fix up the associated PR with this so we can merge it into master?

VitaliyaIoffe commented 2 years ago

Any updates?

elchupanebrej commented 1 year ago

Please check https://github.com/elchupanebrej/pytest-bdd-ng fork. Datatables are supported because an official parser is used there