djuka
|
1b8db5e4a7
|
Obimni testovi: 179 ukupno (46 Go + 133 Playwright)
Novi Go testovi:
- config_test.go: 9 testova (defaults, override, DSN, .env loading)
- helpers_test.go: 13 testova (writeJSON, writeError, clientIP)
Prosireni E2E testovi za svaku stranicu:
- login: 15 testova (forma, auth, redirect, sesije)
- dashboard: 18 testova (statistike, navbar, navigacija, odjava)
- licenses: 20 testova (tabela, filteri, pretraga, kombinacije)
- license-crud: 22 testa (forma, validacija, svi proizvodi/tipovi)
- license-detail: 26 testova (info, aktivacije, audit, revoke, release)
- audit: 14 testova (tabela, API zapisi, formati)
- api-client: 18 testova (activate flow, auth, revoke flow)
Azuriran TESTING.md sa kompletnom checklistom
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-03-04 07:58:24 +00:00 |
|
djuka
|
5a046110f0
|
Dodao Playwright E2E testove i azurirao CLAUDE.md
- 7 E2E test fajlova (54 testa ukupno):
- login.spec.ts: prijava, pogresna lozinka, redirect bez sesije
- dashboard.spec.ts: statistike, navbar, odjava, root redirect
- licenses.spec.ts: tabela, filteri, pretraga
- license-crud.spec.ts: forma, kreiranje LT/ARV/ESIR licence
- license-detail.spec.ts: informacije, aktivacije, audit, revoke, force release
- audit.spec.ts: audit log stranica, kolone, generisanje zapisa
- api-client.spec.ts: activate, deactivate, validate, revoke flow, API key auth
- CLAUDE.md: dodato pravilo o rigoroznom testiranju
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-03-04 07:50:43 +00:00 |
|