<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Kotlin on Neat Guy Coding</title><link>https://neatguycoding.com/zh-cn/tags/kotlin/</link><description>Recent content in Kotlin on Neat Guy Coding</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><copyright>© 2026 NeatGuyCoding</copyright><lastBuildDate>Wed, 06 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://neatguycoding.com/zh-cn/tags/kotlin/index.xml" rel="self" type="application/rss+xml"/><item><title>用 Kotlin 表达力加固 Spring Boot 测试：断言、夹具与响应式边界</title><link>https://neatguycoding.com/zh-cn/posts/supercharge-spring-boot-tests-with-kotlin-dsl-power-by-urs-peter-spring-io-202/</link><pubDate>Wed, 06 May 2026 00:00:00 +0000</pubDate><guid>https://neatguycoding.com/zh-cn/posts/supercharge-spring-boot-tests-with-kotlin-dsl-power-by-urs-peter-spring-io-202/</guid><description>Spring Boot 与 Kotlin 在 JVM 上互操作成熟，团队常先在 &lt;code>src/test&lt;/code> 引入 Kotlin，把扩展函数、默认参数、类型安全 DSL 与 Kotest 等断言风格用在集成测试与 &lt;code>MockMvc&lt;/code> 场景中，以降低样板代码并收紧失败信息。与此同时，Java Builder、静态工具重载与 Project Reactor 的 &lt;code>StepVerifier&lt;/code> 仍有各自的认知成本；文中按依赖层次归纳常见动机、可对齐的公开 API，以及需注意的语义边界（例如 JVM 泛型擦除、响应式校验是否真正订阅完成）。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://neatguycoding.com/posts/supercharge-spring-boot-tests-with-kotlin-dsl-power-by-urs-peter-spring-io-202/cover.png"/></item></channel></rss>