title: 开发与测试 --- # 开发与测试 适合构造测试数据、补默认值、生成随机值以及接入采样工具。 ## 这一组包含什么 | 模块 | 定位 | | --- | --- | | `fake` | 多语言假数据生成 |
| randx | 随机布尔、数值、集合与时间辅助 | | defaults | 按标签和规则填充默认值 | | pyroscope | 快速接入 Pyroscope |
randx
defaults
pyroscope
## 阅读建议 - defaults 很适合作为配置对象或测试夹具的预处理步骤。
fake 和 randx 适合一起使用,但职责不同:一个偏可读数据,一个偏随机性。