·barrier-concurrency-testing
</>

barrier-concurrency-testing

使用障碍和延迟承诺进行确定性竞争条件测试。用可重现的交错控制替换基于 setTimeout 的片状计时测试。

14安装·0热度·@apankov1

安装

$npx skills add https://github.com/apankov1/quality-engineering --skill barrier-concurrency-testing

如何安装 barrier-concurrency-testing

通过命令行快速安装 barrier-concurrency-testing AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/apankov1/quality-engineering --skill barrier-concurrency-testing
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:apankov1/quality-engineering。

SKILL.md

查看原文

Instead of setTimeout (flaky) or sleep (slow), use barriers to pause execution at exact interleave points. The test controls when each concurrent operation proceeds, making race condition tests deterministic and reproducible on every run.

When to use: Testing concurrent operations, flush conflicts, parallel mutations, race windows between read and write, lock contention scenarios, any code where timing affects correctness.

When not to use: Sequential-only code, simple unit tests, UI components, read-only operations, code with no concurrency concerns.

使用障碍和延迟承诺进行确定性竞争条件测试。用可重现的交错控制替换基于 setTimeout 的片状计时测试。 来源:apankov1/quality-engineering。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/apankov1/quality-engineering --skill barrier-concurrency-testing
分类
</>开发工具
认证
收录时间
2026-02-25
更新时间
2026-03-11

Browse more skills from apankov1/quality-engineering

快速解答

什么是 barrier-concurrency-testing?

使用障碍和延迟承诺进行确定性竞争条件测试。用可重现的交错控制替换基于 setTimeout 的片状计时测试。 来源:apankov1/quality-engineering。

如何安装 barrier-concurrency-testing?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/apankov1/quality-engineering --skill barrier-concurrency-testing 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/apankov1/quality-engineering