pytest-bdd icon indicating copy to clipboard operation
pytest-bdd copied to clipboard

Datatables

Open garlicPasta opened this issue 9 years ago • 9 comments

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.

garlicPasta avatar Sep 21 '15 13:09 garlicPasta

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

bubenkoff avatar Oct 01 '15 21:10 bubenkoff

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?

PatrickMassot avatar Apr 18 '16 20:04 PatrickMassot

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

mbarakaja avatar Apr 19 '16 16:04 mbarakaja

I don't have time unfortunately

bubenkoff avatar Apr 19 '16 17:04 bubenkoff

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

mogthesprog avatar Nov 04 '19 14:11 mogthesprog

for anyone interested, there's a workaround here

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

mogthesprog avatar Nov 04 '19 14:11 mogthesprog

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

gnikonorov avatar Jun 04 '20 18:06 gnikonorov

Any updates?

VitaliyaIoffe avatar Apr 11 '22 12:04 VitaliyaIoffe

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

elchupanebrej avatar Jul 24 '22 00:07 elchupanebrej