Borrowing it
Nothing to install: this file belongs to zexion7873/copilot-setting. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/zexion7873/copilot-setting/main/.github/instructions/testing.instructions.mdgit clone --depth 1 https://github.com/zexion7873/copilot-settingWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/zexion7873/copilot-setting/testing)<a href="https://agentmods.dev/instructions/zexion7873/copilot-setting/testing"><img src="https://agentmods.dev/badge/instructions/zexion7873/copilot-setting/testing/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/zexion7873/copilot-setting/testing"><img src="https://agentmods.dev/badge/instructions/zexion7873/copilot-setting/testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00514 | $0.00514 |
| Opus 5.5 | $0.00206 | $0.00206 |
| Sonnet 5.5 | $0.00103 | $0.00103 |
| Haiku 4.5 | $0.00051 | $0.00051 |
Grade A, and why
copilot-setting testing.instructions.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Testing Conventions
Java 8 language rules apply: instructions/java.instructions.md.
Framework Boundary (JUnit 5 / Spring Boot Forbidden)
- JUnit 4 —
org.junit.Test,@Before/@After,Assert.assertEquals. Noorg.junit.jupiter.*/@BeforeEach/@ExtendWith - Spring Test 3.2 —
@RunWith(SpringJUnit4ClassRunner.class)+@ContextConfiguration. No@SpringBootTest/@WebMvcTest/@ExtendWith(SpringExtension.class) - Mockito —
@RunWith(MockitoJUnitRunner.class)orMockitoAnnotations.initMocks(this). No@ExtendWith(MockitoExtension.class) - Assertions:
Assert.*or HamcrestassertThat; AssertJ only if already on the classpath
Structure
- One behavior per test; name
methodName_condition_expectedResult; Arrange–Act–Assert, visually separated - No interdependence (isolated, any order); no logic (loops / conditionals) inside a test
Integration Tests
@ContextConfigurationagainst a test-scoped XML context, not production beans- Test-class
@Transactionalauto-rollback is sanctioned — test-only; does NOT violate the production<tx:advice>-only rule (instructions/spring-hibernate.instructions.md)
Data & Mocks
- Mock collaborators at the layer boundary (DAO in service tests); no shared mutable static fixtures
- Never hit a real external service — stub at the boundary
- Deterministic: no
new Date()/ unseeded random — inject a fixed clock or seed - Never
Thread.sleep()to wait for async — flaky and slow; await a condition or inject a synchronous executor
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed · +3 lines · +85 tokens per session 273a34ed6fe3
- 1mo ago Changed · -12 lines · -180 tokens per session 53de4dc65fb3
- 2mo ago First seen · 42 lines · 609 tokens per session scan A 64149ce265d6
copilot-setting testing.instructions.md is an instructions file published in the GitHub repository zexion7873/copilot-setting (1 stars, last pushed 1mo ago), licensed MIT. It adds 514 tokens to every session, about $0.0021 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
copilot-setting testing.instructions.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| copilot-setting testing.instructions.mdzexion7873/copilot-setting | Instructions file | 1 | 1mo ago | MIT | A | 514 | GitHub Copilot |
| ai-agent-rules-generator copilot.instructions.mdsavedpixel/ai-agent-rules-generator | Instructions file | 8 | 6mo ago | MIT | A | 3,431 | GitHub Copilot |
| ai-agent-rules-generator agent-observations.instructions.mdsavedpixel/ai-agent-rules-generator | Instructions file | 8 | 6mo ago | MIT | A | 1,787 | GitHub Copilot |
| ai-agent-rules-generator doc-sync.instructions.mdsavedpixel/ai-agent-rules-generator | Instructions file | 8 | 6mo ago | MIT | A | 1,652 | GitHub Copilot |
| ai-agent-rules-generator devtools.instructions.mdsavedpixel/ai-agent-rules-generator | Instructions file | 8 | 6mo ago | MIT | A | 399 | GitHub Copilot |
| ai-agent-rules-generator ratelimitting.instructions.mdsavedpixel/ai-agent-rules-generator | Instructions file | 8 | 6mo ago | MIT | A | 522 | GitHub Copilot |
| ai-agent-rules-generator ui-design.instructions.mdsavedpixel/ai-agent-rules-generator | Instructions file | 8 | 6mo ago | MIT | A | 701 | GitHub Copilot |