I extensively use Data tables in cucumber feature file. Data Tables are mostly dump of Database table which i export in pipe delimted format and not properly aligned.
Is there any option in Cucumber-JVM that will auto align DataTables ?
If you're using IntelliJ go to Code>Reformat code
As Joe says, the --autoformat
feature isn't available any more.
I found that cucumber --dry-run --format pretty --quiet --no-color
pretty much gives you what you want, although you'd have to do some string-wrangling to write back to the files.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With