Petri Kainulainen
@petrikainulainen.bsky.social
62 followers 16 following 77 posts
Spring ninja, summer rock star, autumn hacker, and winter guru. I write code. Titles are irrelevant.
Posts Media Videos Starter Packs
petrikainulainen.bsky.social
19 interesting SW development blog posts which I read in September 2025. HIGHLIGHTS: why I am declining your AI generated MR, keeping secrets out of logs, and are the SOLID principles outdated
Software Development Monthly 9 / 2025 - Petri Kainulainen
The software development monthly highlights 19 interesting or useful blog posts which I read during September 2025.
www.petrikainulainen.net
petrikainulainen.bsky.social
21 interesting test automation articles which I read during September 2025. Highlights: the Tetris principle, how to optimize your Spring Boot integration tests, and how to write your first performance tests with Grafana k6.
Clean Test Automation Monthly 9 / 2025 - Petri Kainulainen
The clean test automation monthly highlights 21 interesting or useful test automation blog posts which I read during September 2025.
www.petrikainulainen.net
petrikainulainen.bsky.social
An interesting article which explains why some people cannot pass technical interviews which include a live coding session.
Live coding sucks
Live coding measure stress, not coding skills
hadid.dev
petrikainulainen.bsky.social
When you say tech bros, do you mean people like Bezos, Zuckerberg and Musk, or are you referring to "normal people" who might or might not vibe code?
petrikainulainen.bsky.social
15 interesting SW development blog posts which I read in August 2025. HIGHLIGHTS: I Know When You Are Vibe Coding, AWS deleted my 10-year account and all data without warning, and Live Coding Sucks.
Software Development Monthly 8 / 2025 - Petri Kainulainen
The software development monthly highlights 15 interesting or useful blog posts which I read during august 2025.
www.petrikainulainen.net
petrikainulainen.bsky.social
HIGHLIGHTS: how to write automated tests for a legacy application that cannot be unit tested, learn to test production-ready Spring Boot applications, and how to write Playwright tests which verify that the expected interactions happen between our UI and REST API.
Clean Test Automation Monthly 8 / 2025 - Petri Kainulainen
The clean test automation monthly highlights 15 interesting or useful test automation blog posts which I read during august 2025.
www.petrikainulainen.net
petrikainulainen.bsky.social
HIGHLIGHTS: the rules and roles of AI assisted testing, how to create a useful logging config for Spring Boot tests, and learn to write performance tests with Playwright and Lighthouse.
Clean Test Automation Monthly 7 / 2025 - Petri Kainulainen
The clean test automation monthly highlights 11 interesting or useful test automation blog posts which I read during July 2025.
www.petrikainulainen.net
Reposted by Petri Kainulainen
rotnroll666.bsky.social
New in my toolkit (after resilience4j and Spring Retry): #failsafe

failsafe.dev

Nice api, clear docs, easy and flexible to integrate and use. Well done.

#java #awesomeEcoSystem
Fault tolerance and resilience patterns for the JVM
Failsafe website
failsafe.dev
petrikainulainen.bsky.social
I will grab Elden Ring and Horizon Forbidden West from the Steam's summer sale. The price is decent and I guess these (+ Rocket League) will keep me entertained for the rest of this year.
petrikainulainen.bsky.social
HIGHLIGHTS: a good test name is a sentence, how to write parameterized test classes with JUnit 5, and supercharge your Playwright tests with the Chrome DevTools Protocol.
Clean Test Automation Monthly 6 / 2025 - Petri Kainulainen
The clean test automation monthly highlights 14 interesting or useful test automation blog posts which I read during June 2025.
www.petrikainulainen.net
petrikainulainen.bsky.social
I have come to the conclusion that I will monetize my blog. Have you done the same? If yes, what membership plugin / service did you use?
Reposted by Petri Kainulainen
marcphilipp.de
✨ New blog post: "STF Milestone 4: Parameterized test classes"

JUnit 5.13 introduced parameterized test classes (in addition to methods). They are a powerful testing tool that has long been missing from JUnit Jupiter...

👉 marcphilipp.de/blog/2025/06...
@ParameterizedClass
@ValueSource(strings = {"foo", "bar"})
class SomeTests {
    @Parameter String value;
    
    @Test
    void shouldNotBeNull() {
        assertNotNull(value);
    }
    @Test
    void lengthShouldBeThree() {
        assertEquals(3, value.length());
    }
}
Reposted by Petri Kainulainen
sivalabs.in
Siva @sivalabs.in · May 31
I think people go through various phases of using AI:

1. AI is just a hype
2. AI seems to be helpful
3. Wow, AI is amazing and it's going to take away our jobs
4. OMG, AI made my codebase a mess
5. Okay, so I need to do the thinking and use AI to carry out the tasks.
petrikainulainen.bsky.social
That's actually how I did it. So, I wrote the guidelines with Markdown and then opened it, asked assistant to check my instructions and then for example generate some code. Can you use guideline files if you aren't using JUnie?
petrikainulainen.bsky.social
I am testing the Jetbrains AI Assistant and I have noticed that I can pass guidelines to AI chat by following these steps: 1) Open the markdown file which contains the guidelines 2) Open AI Chat and allows access to code base 3) Ask the assistant to read guidelines and generate code. Interesting.
petrikainulainen.bsky.social
Highlights: how to generate good tests with AI, 3 ways to run a Docker container with Testcontainers when we are writing integration tests for Spring Boot applications, and vibe testing with Playwright.
Clean Test Automation Monthly 5 / 2025 - Petri Kainulainen
The clean test automation monthly highlights 23 interesting or useful test automation blog posts which I read during May 2025.
www.petrikainulainen.net
petrikainulainen.bsky.social
Sure thing. I actually got guide excited about the coding guidelines because that sounds like a great way to both share guidelines for team members and of specify what kind of code should be generated.
petrikainulainen.bsky.social
Sometimes vibe-coding is relaxing, and sometimes it's not.