# Afresto Testing

> - Strategi & konvensi test backend Go Afresto Next (projectTwo/backend). WAJIB dibaca sebelum menulis/mengubah test: piramida unit/service/integration, testing stdlib (BUKAN testify), table-driven, mock TANPA library (interface repo/deps dipenuhi fakeRepo), integration WAJIB skip bila TESTDATABASEURL kosong, jam disuntik (bukan time.Now internal). Test DITULIS MENYERTAI tiap refactor, bukan menyusul. Picu saat: bikin/ubah test.go, mau menguji service/handler/query, bingung "ini diuji di layer mana", atau setup CI test.

## Facts
- Page: https://tashan.sh/capability/skill-afresto-next-afresto-testing
- tashan id: skill:Afresto-Next/afresto-testing
- Source: https://github.com/Afresto-Next/afresto-claude-skills
- Type: skill
- Category: devtools
- tashan score: not scored (catalogued only — too little public evidence)
- Adoption: 9.0
- Upkeep: 96.0
- Freshness: 92.0
- Evidence coverage: 84% of the inputs this score can use
- Health: active
- Instruction depth: not yet graded
- Official: no

## Install

```sh
cp -r afresto-testing ~/.claude/skills/
```

## Security audit
Not scanned. We audit npm-published capabilities; this one has no npm package we can resolve, or has not reached the queue. This is not a clean bill of health.

---
Measured 2026-08-22 by tashan (https://tashan.sh) from public evidence. Scorer s5.
