gwen-interpreter / gwen

Core Gwen interpreter
https://gweninterpreter.org
Apache License 2.0
36 stars 8 forks source link

Gwen reports unsupported step definition for empty parameter values #40

Closed Rahul9844 closed 6 years ago

Rahul9844 commented 6 years ago

Below behaviour is observed where gwen does not accept empty values to step-definition and reports as unsupported step.

Example : Below works I enter form details "Rahul", age "26"

Example : Below reports unsupported step definition I enter form details "", age ""

bjuric commented 6 years ago

Thanks @Rahul9844 for raising this one. Will look into it.

bjuric commented 6 years ago

We've implemented a fix and built the following gwen-web snapshot for you to test this out. Please let us know how it goes.

Rahul9844 commented 6 years ago

Empty argument values are working on above build.

Rahul9844 commented 6 years ago

If the 1st parameter is blank; it still fails with an unsupported step defn error.

Below work And I test "1" ""

Below does not work And I test "" "1"

bjuric commented 6 years ago

Thanks Rahul. We have corrected this in the snapshot build below. Please retest and let us know how it goes.

Rahul9844 commented 6 years ago

Tested both above mentioned scenarios on gwen-web-2.14.3-3-g821d258-SNAPSHOT.zip and its working.