Lee Turner

I am a big fan of using Arrow in my Kotlin apps. Over the past week I have been looking at how I can steer agents towards writing more idiomatic arrow code and to give them this feedback early on.

Along with a few additions to my agents.md file, this all ended up as a new collection of Detekt rules - https://leeturner.me/projects/arrow-detekt-rules/

If you use arrow and detekt, feel free to take a look and let me know what you think.

Lee Turner

Really enjoyed the social at the @tessl_io office tonight. Simon’s talk on the Tessl software factory was really interesting. Definitely interested in giving a try

Lee Turner

The Big List Of Naughty Strings is a cool project. It contains a list of ‘interesting’ strings that you can use in your testing - thinkings like SQL injection, RTL text, zero-width characters, emoji, Zalgo text and more. The project can be found here:

https://github.com/minimaxir/big-list-of-naughty-strings

I thought it might be interesting to wrap these up in a WireMock extension that adds a naughtyString Handlebars helper, so templated responses can return strings from the BLNS. That extension can be found here:

https://github.com/leeturner/wiremock-blns-extension

As usual, I have added an example to my WireMock Docker example:

https://github.com/leeturner/wiremock-standalone-docker-example/blob/main/wiremock/mappings/blns.json

Take it for a spin and let me know what you think

Lee Turner

Last week I put together a little Micronaut Framework WireMock extension to allow WireMock to be easily used inside tests. It uses the same annotations as the WireMock spring boot extension. At the moment it only supports http-based WireMock services but it does support the latest Micronaut and the latest WireMock OSS 4 beta so you get all the messaging and SSE support in there.

Along with that, I watched Faster Development with Java, Python, and Micronaut by Graeme Rocher and Thomas Wuerthinger from Devoxx Belgium. I have never been much of a python dev but Pyronaut looks amazing and definitely worth a try. Link to the video below.

I decided to see if I could get my extension up and running on a Pyronaut Python application and other than a small class loader issue that needed fixing in my extension it all worked really well. Full end to end testing in Python, running on Pyronaut, using WireMock to mock out the upstream APIs. Very cool.

The latest version of the extension is up on maven central if you want to try it out. Let me know what you think.

Links:

Extension: https://github.com/leeturner/wiremock-micronaut

Pyronaut example: https://github.com/leeturner/wiremock-micronaut/tree/main/examples/pyronaut

Devoxx talk: https://www.youtube.com/watch?v=zo6L7bxn4OY

Pyronaut: https://pyronaut.io/

Lee Turner

Last week beta 39 of WireMock OSS v4 dropped. Along with the usual bug fixes and dependency updates, this release built on the messaging support already there to add support for Server Sent Events. This now opens up a wide range of testing capabilities and we are already making good use of this internally on the WireMock eng team. If you use SSE in your app I would love to hear what you think. I have updated the WireMock OSS docker example I have with a simple train departure board demo.

https://github.com/wiremock/wiremock/releases/tag/4.0.0-beta.39

https://github.com/leeturner/wiremock-standalone-docker-example

Lee Turner

Flights and accomodation booked for KotlinConf. Feels a little more real now :)

Lee Turner

Nice to get back home after a few days away to find my new #adventofcode t-shirt had been delivered

Lee Turner

RT @wiremockorg: The WireMock team is excited to announce the release of WireMock version 3.10.0. This release includes a number of depende…

Lee Turner

RT @wiremockorg: Great to chat to so many of you this morning as APIDays Paris kicked off. Come by stand 18 and chat to the team. https://t…

Lee Turner

Always greatful for the nice gentle intoduction to the first day of #AdventOfCode . Solving these puzzles always reminds me of how good the standard library is in @kotlin

Lee Turner

Myself and a few of the @wiremockorg team will be in Paris next week at #APIDays

It would be great to chat. Come by the WireMock stand and say hi.

I will also be giving a talk on how to develop in parallel and ship earlier with OpenAPI and mocking.

https://www.apidays.global/paris/

Lee Turner

Can’t believe that Adevnt of Code starts on Monday. Also great to see the Kotlin videos sheduled in already.

I’ll be at a conference the first week of December so I’ll be playing catchup for the first few days. If you can, be sure to sponsor or buy some merch for the Advent of Code. It is a huge effort to run this every year.

Lee Turner

This is a great post on the current state of Kotlin Script. This section was music to my ears

We will continue to develop the .main.kts script type, which is already helpful for simple automation tasks. We have plans to extend its functionality and streamline IDE support. Such scripts continue to be supported out of the box in the Kotlin compiler and the Kotlin plugin for IntelliJ IDEA.

https://blog.jetbrains.com/kotlin/2024/11/state-of-kotlin-scripting-2024/

Lee Turner

It’s been a great week of live music. From Cigarettes After Sex live at the O2 to the amazing Cardinal Black at a local venue in Brighton

Lee Turner

Enjoyed my usual installment of Pairing With Duncan. This series on Gradle is really good

Lee Turner

Even though LinkedIn jumped the gun a little, it is my 1 year anniversary at WireMock next week. The team has built some awesome dev tooling over the course of the last year - tooling that I wish I had access to in previous projects - OpenAPI, stateful mocking, mocks using your own data, gRPC and more. Not only that, it has been great to be a part of an active open source project with a great community behind it.

Lee Turner

It is my 1 year anniversary at @wiremockorg next week. The team has built some awesome dev tooling over the course of the last year. Here is my anniversary mock API with a chunked dribble response delay and a little bit of response templating thrown in for good measure.

Lee Turner

RT @ericwastl: #AdventOfCode 2024 sponsorship is now open! If your organization might be interested in sponsoring, please have them email s…

Lee Turner

RT @wiremockorg: 🆕 We’ve got a glorious new documentation portal for WireMock Cloud – including, for the first time ever, the API reference…

Lee Turner

RT @picimako: Earlier this week I’ve had the opportunity to have a longer discussion with @leeturner from the @wiremockorg team, which was…

Lee Turner

RT @ChrisPHemingway: “Wake Up” has finally been released! 🎉✨ I’m incredibly grateful to everyone who helped me 🙏💖 I hope you enjoy listenin…

Lee Turner

RT @wiremockorg: WireMock 3.9.2 Released!

The WireMock team is excited to announce the release of WireMock version 3.9.2. Check out the f…

Lee Turner

RT @wiremockorg: If you use our official WireMock Docker images you might be interested in the new guide put together by the team at @Docke…

Lee Turner

RT @picimako: WireMocha v1.0.35 is now out!

It improves support for workspaces, and now more accurate HTTP Client requests are generated f…

Lee Turner

RT @QuarkusIO: ⏰ Starting soon! Join us for Quarkus Insights Ep. #182 as Tom Akehurst & Lee Turner join us to discuss how to use the Wiremo…

Lee Turner

RT @wiremockorg: @TomAkehurst and @leeturner from the wiremock engineering team will be joining @QuarkusIO insights to chat about wiremock…

Lee Turner

RT @wiremockorg: We’re pleased to announce we’ve officially adopted the WireMock <-> Spring Boot integration project created by @maciejwalk…