Closed jk563 closed 7 years ago
@jk563 good spot.
Will provide a fix.
It's to do with GSON, the line that incorrectly maps it is https://github.com/prashant-ramcharan/courgette-jvm/blob/master/src/main/java/courgette/runtime/CourgetteRunner.java#L165
final Object jsonObject = new Gson().fromJson(json, Object.class);
Thanks - this is now fixed in version 1.3.1.
Cheers for the rapid fix, working as expected now!
I'm seeing line values with decimal points and durations with decimal points and scientific notation when using this runner. This contrasts with the numbers in the example documentation (https://relishapp.com/cucumber/cucumber/docs/formatters/json-output-formatter).
For example, I believe that this:
Should look like this: