<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Test-Check on PlumePHP</title><link>https://plumephp.com/tags/test-check/</link><description>Recent content in Test-Check on PlumePHP</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Wed, 22 Oct 2025 10:04:00 +0800</lastBuildDate><atom:link href="https://plumephp.com/tags/test-check/index.xml" rel="self" type="application/rss+xml"/><item><title>Clojure spec 与测试：数据验证、生成测试与属性驱动</title><link>https://plumephp.com/clojure-clojure-spec/</link><pubDate>Wed, 22 Oct 2025 10:04:00 +0800</pubDate><guid>https://plumephp.com/clojure-clojure-spec/</guid><description>&lt;p&gt;在动态类型的 Clojure 世界中，确保数据的形状正确是一个核心工程挑战。&lt;code&gt;clojure.spec&lt;/code&gt; 是 Clojure 官方于 1.9 版本引入的数据描述与验证库，它不仅可以进行运行时的结构检查，还能为属性驱动测试（Property-Based Testing）自动生成海量测试数据。本文将深入 spec 的完整功能谱系，从基础验证到高级生成器定制，并通过实战展示如何用 spec 守护生产系统的数据边界。&lt;/p&gt;</description></item></channel></rss>