Simone Romani

@simoneromani.bsky.social

Senior developer and engineering manager at ING. TDD enthusiast. Striving to improve my code every day, I’m on Bluesky so that I can follow the latest trends of software development.

One of the most effective guardrails that you can put around AI generated code is mutation testing, since it keeps in check the tests that keep subsequently in check the code. Highly recommend it especially while riding this hype wave of AI

Henry Coles@pitest.bsky.social · 4mo ago

Pleased to see mutation testing and pitest on the ThoughtWorks radar www.thoughtworks.com/radar/techni... As they point out, it's more relevant than ever in the era of AI generated code and tests. And of course the way to use it most effectively on the jvm is www.arcmutate.com #java #kotlin #ai

#OpenRewrite v8.77.0 is out! 🚀 🔷 C# pattern matching & typed captures 🍃 Spring RestTemplate → RestClient ☕ JAX-RS to Spring MVC 🔒 OWASP Cryptographic Failures 🧪 PowerMock & AssertThrows fixes 📋 CopyValue for YAML & .properties 🔧 Maven proxy settings from settings.xml 📑 JavaDoc to /// Markdown

Your tests should give you confidence, not slow you down or break on every refactor. Marco talks with J. B. Rainsberger, TDD coach and software consultant, about how TDD actually works and what most teams get wrong about testing. Full episode: https://youtu.be/j0NjFsb-at8

When I introduce mutation testing to teams on the Code Craft training workshop, it's invariably one of those "How did this not occur to us before?" moments. "Is our code broken and we don't know it?" Let's break it and see if any of your tests fail.

I have a technique I call incompetence-based-mutation-testing. Start making some changes. Bork everything, comment out half the existing code to just make stuff compile. Run tests. Watch tests pass. Stop refactoring, go have a stern word with the tests.

"...and at the end, all the tests were passing." I've seen them do it. Lots of other devs have seen them do it. LLMs will sometimes cheat to make test suites green. They'll change assertions, comment out failing tests, set them to be ignored, or just plain delete them. Two words: mutation testing

#OpenRewrite v8.63.0 is out! 🍂 🚀 Spring Boot to Quarkus migration recipes 🛠️ Oracle/MSSQL to PostgreSQL migrations 🤠 Jackson v3 upgrade recipes 🍁 Support additional Maven (re)sources 🧪 JUnit 5, 6 & Jupiter best practices 🔧 Expanded Hibernate 7 migration ➕ Many more fixes github.com/openrewrite/...

Release v3.16.0 · openrewrite/rewrite-recipe-bom

What's Changed Incorporates the latest versions of OpenRewrite (v8.63.0), the rewrite-gradle-plugin (v7.18.0), and the rewrite-maven-plugin (v6.21.0) to improve code parsing accuracy and recipe ex...

github.com