update README
This commit is contained in:
@@ -133,6 +133,8 @@ dotnet run --launch-profile swagger_dev
|
||||
|
||||
## Tests
|
||||
|
||||
**Status:** 76 .NET-Tests + 132 Angular-Tests — alle grün.
|
||||
|
||||
### Backend (xUnit)
|
||||
|
||||
```bash
|
||||
@@ -146,6 +148,8 @@ dotnet test tests/Application.UnitTest
|
||||
dotnet test tests/Application.FunctionalTest
|
||||
```
|
||||
|
||||
Getestete Komponenten: `Result`/`PagedResult` (Edge Cases), `JwtService` (Token-Generierung, Refresh-Validierung), `EmailService` (SMTP-Interaktion), `AuthenticationService`.
|
||||
|
||||
### Frontend (Karma + Jasmine)
|
||||
|
||||
```bash
|
||||
@@ -162,6 +166,13 @@ npm run test:coverage
|
||||
# Report: src/ClientApp/coverage/index.html
|
||||
```
|
||||
|
||||
```bash
|
||||
# Headless (benötigt Chromium-Pfad)
|
||||
CHROME_BIN=/usr/bin/chromium npx ng test --no-watch --browsers=ChromeHeadless
|
||||
```
|
||||
|
||||
Getestete Komponenten: `tokenInterceptor` (401-Refresh-Flow), `HeaderComponent` (Logout/Rolle/Username), `authService` (HTTP-Login/Register/Renew), `DarkModeService` (localStorage-Persistenz), `ToastComponent` (Auto-Dismiss), `PopupModalComponent` (Inputs/Outputs), `ForgetPasswordPopupComponent` (Close/Error/Success).
|
||||
|
||||
---
|
||||
|
||||
## NPM-Skripte (Frontend)
|
||||
|
||||
Reference in New Issue
Block a user