·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