AGENTS.md
test/helpers/AGENTS.mdAGENTS.md
Quality
51/100
Scores the file, not the repository.Length
171 words
3 headings · 0 code blocksRepository
385k
— · pushed 0 days agoLast changed
3 days ago
First indexed 3 days ago.1# Shared Test Helper Boundary23This directory holds shared test helpers reused by core and bundled plugin4tests.56## Bundled Plugin Imports78- Shared helpers in this tree must not hardcode repo-relative imports into9 `extensions/**`.10- When a helper needs a bundled plugin public surface, go through11 `src/test-utils/bundled-plugin-public-surface.ts`.12- Prefer `loadBundledPluginApiSync(...)`,13 `loadBundledPluginRuntimeApiSync(...)`,14 `loadBundledPluginContractApiSync(...)`, and15 `loadBundledPluginTestApiSync(...)` for eager access to exported surfaces.16- Prefer `resolveRelativeBundledPluginPublicModuleId(...)` or17 `resolveBundledPluginPublicModulePath(...)` when a helper needs a module id18 or filesystem path for dynamic import, mocking, or loading a plugin entrypoint19 such as `index.js`.20- If `vi.hoisted(...)` is involved, do not call imported helper functions from21 inside the hoisted callback. Resolve the module id outside the callback or22 switch to `vi.doMock(...)`.23- Do not keep plugin-local deep mocks or private `src/**` knowledge in shared24 helpers. Move those helpers into the owning bundled plugin package instead.2526## Intent2728- Keep shared helpers aligned with the same public/plugin boundary that29 production code uses.30- Avoid shared helper debt that makes core test lanes depend on bundled plugin31 private layout.32
Also in openclaw/openclaw
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| openclaw/openclawextensions/telegram/AGENTS.md · 385k | AGENTS.md | stylegitsecurityapi+1 | 59/100 | 3 days ago | |
| openclaw/openclawsrc/agents/embedded-agent-runner/run/AGENTS.md · 385k | AGENTS.md | teststyleperformance | 47/100 | 3 days ago | |
| openclaw/openclawsrc/agents/tools/AGENTS.md · 385k | AGENTS.md | testperformanceagent-behaviour | 51/100 | 3 days ago | |
| openclaw/openclawsrc/plugin-sdk/AGENTS.md · 385k | AGENTS.md | styledo-not | 67/100 | 3 days ago | |
| openclaw/openclawsrc/plugins/AGENTS.md · 385k | AGENTS.md | styledo-not | 62/100 | 3 days ago | |
| openclaw/openclawscripts/AGENTS.md · 385k | AGENTS.md | teststylegitsecurity+1 | 83/100 | 3 days ago |
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| n8n-io/n8npackages/@n8n/agents/AGENTS.md · 199k | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| TryGhost/Ghoste2e/AGENTS.md · 55k | AGENTS.md | setupteststylearch+2 | 100/100 | 3 days ago | |
| duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70 | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| mui/material-uiAGENTS.md · 99k | AGENTS.md | setupbuildtestlint-format+9 | 100/100 | 3 days ago | |
| aaif-goose/gooseAGENTS.md · 52k | AGENTS.md | setupbuildtestlint-format+6 | 100/100 | 3 days ago | |
| wpscanteam/wpscanAGENTS.md · 9.7k | AGENTS.md | setupbuildteststyle+6 | 100/100 | 2 days ago | |
| trick77/agents-md-syncAGENTS.md · 2 | AGENTS.md | setupbuildteststyle+5 | 100/100 | 3 days ago | |
| code-yeongyu/oh-my-openagentpackages/web/AGENTS.md · 67k | AGENTS.md | setupbuildtestlint-format+6 | 100/100 | 2 days ago |
