Skip to content


Subversion checkout URL

You can clone with
Download ZIP


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

newmanne opened this Issue · 0 comments

2 participants


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.