Files
RSSuper/tasks/native-business-logic-migration/39-write-integration-tests.md
Michael Freno 14efe072fa feat: implement cross-platform features and UI integration
- iOS: Add BackgroundSyncService, SyncScheduler, SyncWorker, BookmarkViewModel, FeedViewModel
- iOS: Add BackgroundSyncService, SyncScheduler, SyncWorker services
- Linux: Add settings-store.vala, State.vala signals, view widgets (FeedList, FeedDetail, AddFeed, Search, Settings, Bookmark)
- Linux: Add bookmark-store.vala, bookmark vala model, search-service.vala
- Android: Add NotificationService, NotificationManager, NotificationPreferencesStore
- Android: Add BookmarkDao, BookmarkRepository, SettingsStore
- Add unit tests for iOS, Android, Linux
- Add integration tests
- Add performance benchmarks
- Update tasks and documentation

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-03-30 23:06:12 -04:00

41 lines
1.2 KiB
Markdown

# 39. Write cross-platform integration tests
meta:
id: native-business-logic-migration-39
feature: native-business-logic-migration
priority: P1
depends_on: [native-business-logic-migration-36, native-business-logic-migration-37, native-business-logic-migration-38]
tags: [testing, integration]
objective:
- Write integration tests that verify cross-platform functionality
deliverables:
- Integration test suite: `android/src/androidTest/java/com/rssuper/integration/FeedIntegrationTest.kt`
- Test fixtures (sample feeds): `tests/fixtures/sample-rss.xml`, `tests/fixtures/sample-atom.xml`
- Test data generator: `tests/generate_test_data.py`
- CI integration: Updated `.github/workflows/ci.yml` with integration test job
tests:
- Integration: Feed fetch → parse → store flow
- Integration: Search end-to-end
- Integration: Background sync end-to-end
- Integration: Notification delivery
- Integration: Settings persistence
- Integration: Bookmark CRUD
acceptance_criteria:
- All integration tests pass
- Test data properly isolated
- Tests can run independently
- Tests included in CI
validation:
- Run full test suite
- Verify CI passes
notes:
- Use same test feeds across platforms
- Verify data consistency
- Test error recovery