https://linen.dev logo
#wiremock-java
Title
# wiremock-java
a

Alex Dunga

03/28/2023, 11:34 AM
For the services I'm testing I need to use WireMock standalone. I use the handlebars to apply some data in the test runner ( Cucumber). I've found that native Handlebars doesnt have the "now" helper built it. Where can I find that source code ? I would like to maintain the standard defined in the Wiremock documentation. I hope this is fair use of open source code. If not I'll write my own helper.
t

Tom

03/28/2023, 11:35 AM
Have you considered pulling the WireMock library into the right bit of your classpath then just registering the
now
helper with the Handlebars engine?
That might be quite a bit more straightforward than trying to pull the source code out
a

Alex Dunga

03/28/2023, 11:37 AM
:)) no I haven't. My background is some automotive C and Python. That sound very good. Thank you Tom.
👍 1
I almost did a facepalm. I'm wearing glasses, so better not :))
😂 1