testing-standards — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited testing-standards (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Any task involving writing, running, or improving tests.
| Test type | Target | Measured on |
|---|---|---|
| Unit | 80% | Business logic files only |
| Integration | 100% | All API endpoints |
| E2E | 100% | Critical user flows |
it('should return 401 when token is expired', async () => {
// Arrange
const expiredToken = generateExpiredToken()
const request = buildRequest({ authorization: `Bearer ${expiredToken}` })
// Act
const response = await handler(request)
// Assert
expect(response.status).toBe(401)
expect(response.body.error.code).toBe('TOKEN_EXPIRED')
})Blank line between Arrange, Act, and Assert sections. Always.
Pattern: should [expected behaviour] when [condition]
should return 404 when user does not existshould hash password before storing in databaseuser test 4test passwordTest:
Do not test:
auth.ts → auth.test.ts)/tests/integration//tests/e2e//tests/utils/Run the full test suite. If any test fails: do not commit. Fix it first.
Before marking a task done when this skill was active:
I remembered off the top of my head?
has that file been written to the correct path?
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.