Hello daft question but i am running on the latest Version of python bdd. When trying to parse example values from feature to python it seems to only pickup the text in the feature “” and not the example data.
python code
@given(parsers.parse("{parameters}"), target_fixture="parameters",converters={"parameters": str})
def ParseParmeters(parameters):
return parameters
feature file
Feature:In EDW IDL Loans, check if data of given attributes is NOT NULL
Scenario: SIT_EIL_H35IDLR271LMT_Duplicate_check
Given <parameters>
When SQL to execute:
SELECT
'%TST_CD' AS Test_Cd
,(select failurename from table where ='NO_ROWS_RETURNED'
) tst_SQL
WHERE tst_SQL.tst_Result = 'Fail';
Then EXPECTED_RESULT=NO_ROWS_RETURNED
Examples:
| parameters |
| TST_CD=Duplicate_check;Data_Entity=LIT;PROCESS_NAME=procname;Data_Attribute=DA1,DA2;Proc_Typ_Cd=P3 |