<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>testing on Ikoma's Blog</title><link>https://blog.yusukeikoma.com/tags/testing/</link><description>Recent content in testing on Ikoma's Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 08 Jul 2026 21:30:00 +0900</lastBuildDate><atom:link href="https://blog.yusukeikoma.com/tags/testing/index.xml" rel="self" type="application/rss+xml"/><item><title>Testing ON CONFLICT and SKIP LOCKED Takes a Real PostgreSQL</title><link>https://blog.yusukeikoma.com/posts/on-conflict-skip-locked-need-real-postgres/</link><pubDate>Wed, 08 Jul 2026 21:30:00 +0900</pubDate><guid>https://blog.yusukeikoma.com/posts/on-conflict-skip-locked-need-real-postgres/</guid><description>In a backend that writes SQL by hand, retry idempotency and double-claim prevention live inside ON CONFLICT and FOR UPDATE SKIP LOCKED, where a mocked database never looks. This post starts the production PostgreSQL version with testcontainers, applies the real migrations, isolates tests with TRUNCATE, and splits pytest into unit and integration lanes in CI.</description></item></channel></rss>