Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/grasshopper7/cuke4-parameter-datatable

Using Annonymous Parameter Types and Jackson Object Mapper for conversion in Cucumber 4.x
https://github.com/grasshopper7/cuke4-parameter-datatable

cucumber-jvm java-8

Last synced: about 2 months ago
JSON representation

Using Annonymous Parameter Types and Jackson Object Mapper for conversion in Cucumber 4.x

Awesome Lists containing this project

README

        

Refer to this for more details - https://ghchirp.site/340/

XStream was removed from Cucumber-JVM in version 3 for various reasons. Though it reduced a lot of complexities, it removed functionality which automatically transformed a DataTable into a collection of objects or String to a object. This now requires code for each transformation to define a DataTableType or ParamterType in the TypeRegistry for these cases. This has been made easier in Cucumber-JVM 4.0.0 by using Jackson ObjectMapper for DataTables and Anonymous Parameter Types for Parameters in version 4.2.0. Refer to official announcements for version 4.0.0 and version 4.2.0.