migration start
Some checks failed
CI - Multi-Platform Native / Build iOS (RSSuper) (push) Has been cancelled
CI - Multi-Platform Native / Build macOS (push) Has been cancelled
CI - Multi-Platform Native / Build Android (push) Has been cancelled
CI - Multi-Platform Native / Build Linux (push) Has been cancelled
CI - Multi-Platform Native / Build Summary (push) Has been cancelled

This commit is contained in:
2026-03-29 14:12:17 -04:00
parent af87f9f571
commit d346b527e6
51 changed files with 4476 additions and 69 deletions

View File

@@ -0,0 +1,42 @@
# 38. Write unit tests for Linux business logic
meta:
id: native-business-logic-migration-38
feature: native-business-logic-migration
priority: P1
depends_on: [native-business-logic-migration-35]
tags: [testing, linux]
objective:
- Write comprehensive unit tests for Linux business logic
deliverables:
- feed-parser-test.vala
- feed-fetcher-test.vala
- database-test.vala
- repository-test.vala
- view-model-test.vala
- background-sync-test.vala
- search-service-test.vala
- notification-service-test.vala
tests:
- Unit: All test files compile
- Unit: All tests pass
- Coverage: >80% code coverage
acceptance_criteria:
- All business logic covered
- Edge cases tested
- Error cases tested
- Performance tests included
- >80% code coverage
validation:
- Run `meson test -C build`
- Check coverage report
notes:
- Use GLib's g_test framework
- Use g_assert macros
- Mock external dependencies