Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Feature: output list of of possibilities when an enum is typed incorrectly in feature file #344

Closed
newmanne opened this Issue · 0 comments

2 participants

@newmanne

It would be great if when an enum was typed in a file and the step definition tried to match and failed, instead of saying something like:

cucumber.runtime.xstream.converters.ConversionException: Couldn't convert "black" to an instance of: [class com.otpp.tim.acceptance.cucumber.pages.employee.EmployeeAtAGlanceStepDefinitions$Color]

it also output color.values() so that the person writing the feature file could see immediately what all of their options were.

This would be useful for testers who do not want to have to delve into the source code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.