This commit is contained in:
Stefanescu Mihai
2026-03-19 18:54:50 +02:00
parent 82ebb697f3
commit 49b1d3581a
19 changed files with 1496 additions and 11 deletions
+11 -7
View File
@@ -168,14 +168,18 @@ Features that differentiate from a basic analytics tool.
---
## Phase 10: Testing & Quality
## Phase 10: Testing & Quality ✅
- [x] Write Feature tests for `CollectController` (valid payloads, invalid tracking IDs, rate limiting)
- [x] Write Feature tests for `WebsiteController` CRUD and authorization
- [x] Write Unit tests for `AnalyticsQueryService` aggregation logic
- [x] Write Unit tests for `GoalEvaluationService`
- [ ] Write browser tests (Dusk) for dashboard interactions and date picker (deferred — requires Dusk package + browser driver)
- [x] Add CI pipeline (GitHub Actions): run tests, Pint linting, Larastan static analysis
- [x] Create model factories for all analytics models
- [x] Fix base Controller `AuthorizesRequests` trait
- [x] Fix DailyAggregate/PageDailyAggregate date cast for SQLite compatibility
- [ ] Write Feature tests for `CollectController` (valid payloads, invalid tracking IDs, rate limiting)
- [ ] Write Feature tests for `WebsiteController` CRUD and authorization
- [ ] Write Unit tests for `AnalyticsQueryService` aggregation logic
- [ ] Write Unit tests for `GoalEvaluationService`
- [ ] Write browser tests (Dusk) for dashboard interactions and date picker
- [ ] Add CI pipeline (GitHub Actions): run tests, Pint linting, Larastan static analysis
---