Skip to content

[P1][Test] Copertura dei test: zero test su sync, notifiche, indice calendario e widget #19

Description

@ivan-94m

Stato

37 unit test, concentrati su parser, template e matematica del calendario. Nessun test per:

  • CalendarSyncService (import/export/cancellazioni, doppio dispositivo)
  • NotificationService (piano notifiche, alert offsets)
  • CalendarTaskIndex (multi-giorno, all-day, scadenze)
  • WidgetBridge, AutomationEngine (idempotenza), SeedService.dedupeAfterCloudMerge
  • flussi UI (i 3 UITest sono quelli del template)

Da fare

  • Astrarre EKEventStore e UNUserNotificationCenter dietro protocolli, con fake nei test.
  • Un test di regressione per ogni bug P0/P1 di questa roadmap, scritto prima del fix.
  • 3-4 UITest sui flussi chiave: creare un evento dal calendario, completare una ricorrente, triage dell'Inbox, cattura rapida.
  • Test di performance (measure) su CalendarTaskIndex e sui predicati con 5.000 task (DebugSeeder).

Activity

  1. ivan-94m commented on Oct 8, 2026

    @ivan-94m
    ContributorAuthor

    #72: test sul piano delle notifiche (promemoria, scadenza, "Parti ora", limite di 60 del riallineamento, sottotitoli) e sulla regola anti-doppioni del push EventKit (CalendarSyncService.mayCreateEvent), estratta da push senza cambiarne la logica.

    Restano: import EventKit (serve un'astrazione dello store), indice del calendario sotto carico e snapshot del widget.


    Generated by Claude Code

  2. added a commit that references this issue on Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions