什么是 python-test-micrometer-testing-metrics?
使用 SimpleMeterRegistry 在单元和集成测试中测试自定义 Micrometer 指标。在为记录指标的服务编写测试、在操作后验证指标值、测试百分位数和直方图或在没有完整 Spring 上下文的情况下断言指标行为时使用。对于确保指标准确记录在业务逻辑中至关重要。 来源:dawiddutoit/custom-claude。
使用 SimpleMeterRegistry 在单元和集成测试中测试自定义 Micrometer 指标。在为记录指标的服务编写测试、在操作后验证指标值、测试百分位数和直方图或在没有完整 Spring 上下文的情况下断言指标行为时使用。对于确保指标准确记录在业务逻辑中至关重要。
通过命令行快速安装 python-test-micrometer-testing-metrics AI 技能到你的开发环境
来源:dawiddutoit/custom-claude。
Quick Start → What Is This | When to Use | Simple Example
How to Implement → Step-by-Step | Test Registry Setup | Examples
Testing metrics requires explicit registry setup since Micrometer doesn't auto-wire in unit tests. This skill shows how to verify that custom metrics are correctly recorded in unit tests (SimpleMeterRegistry), integration tests (@AutoConfigureMetrics), and percentile/histogram calculations.
使用 SimpleMeterRegistry 在单元和集成测试中测试自定义 Micrometer 指标。在为记录指标的服务编写测试、在操作后验证指标值、测试百分位数和直方图或在没有完整 Spring 上下文的情况下断言指标行为时使用。对于确保指标准确记录在业务逻辑中至关重要。 来源:dawiddutoit/custom-claude。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/dawiddutoit/custom-claude --skill python-test-micrometer-testing-metrics使用 SimpleMeterRegistry 在单元和集成测试中测试自定义 Micrometer 指标。在为记录指标的服务编写测试、在操作后验证指标值、测试百分位数和直方图或在没有完整 Spring 上下文的情况下断言指标行为时使用。对于确保指标准确记录在业务逻辑中至关重要。 来源:dawiddutoit/custom-claude。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/dawiddutoit/custom-claude --skill python-test-micrometer-testing-metrics 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/dawiddutoit/custom-claude