Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/grasshopper7/cuke4-parameter-datatable
- Owner: grasshopper7
- Created: 2018-12-06T12:30:28.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-10-03T05:36:58.000Z (over 1 year ago)
- Last Synced: 2023-10-03T15:51:10.869Z (over 1 year ago)
- Topics: cucumber-jvm, java-8
- Language: Java
- Homepage: https://grasshopper.online/340/
- Size: 21.5 KB
- Stars: 5
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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.