Open
Description
Concordion variables set in the specification take String type by default.
It should be possible to directly pass these variables as arguments to fixture methods taking Enum parameters.
Currently this results in an exception - eg
java.lang.IllegalArgumentException: Unable to convert type java.lang.String of RED to type of org.example.Color
Sample project: https://github.com/vgheo/concordion-samples/tree/master/concordion-iss-cast-enum
Failing test :
Should be able to use RED to do stuff
Unable to convert type java.lang.String of RED to type of org.example.Color
.
Should be able to set var1 public field
Unable to convert type java.lang.String of RED to type of org.example.Color
Should be able to set var2 via setter
Unable to convert type java.lang.String of RED to type of org.example.Color
Metadata
Metadata
Assignees
Labels
No labels