6 Commits

Author SHA1 Message Date
Ivan
ea407d0143 feat(tests): add comprehensive tests for access attempts, enforcement, and security paths, including database migration and backup safety 2026-03-31 06:06:48 +03:00
Sudo-Ivan
d9cbc59ab3 Refactor backend tests
- Removed redundant comments from various test files to enhance readability and focus on the test logic.
- Added a few tests for prop sync and markdown security.
2026-02-14 19:18:20 -06:00
Sudo-Ivan
64e4fceb2d Refactor identity manager metadata loading and improve legacy migrator column handling
- Simplified metadata loading in IdentityManager by combining context managers.
- Updated LegacyMigrator to exclude 'id' from common columns during migration to prevent collisions.
- Increased SQLite connection timeout in DatabaseProvider for improved reliability.
- Removed unnecessary thread patching in test configuration.
- Added concurrency stress tests for database operations and identity management.
- Introduced database migration tests to validate legacy data handling and migration success.
2026-01-16 09:21:30 -06:00
Sudo-Ivan
0ae45b45c0 Add temporary log directory setup for tests and improve input validation in fuzz tests
- Configured a temporary directory for log files in tests to prevent permission issues in restricted environments.
- Improved input validation in fuzz tests for `root_folder_name` and `docs_file` to exclude null characters, enhancing robustness.
- Introduced a new test suite for property-based testing of telemetry and utility functions, ensuring stability and correctness across various scenarios.
2026-01-14 12:40:28 -06:00
Sudo-Ivan
fda9187e95 numerous improvements 2026-01-05 11:47:35 -06:00
Sudo-Ivan
4e308e427a test(tests): add global mocks and cleanup fixtures for improved test isolation and resource management 2026-01-03 22:10:19 -06:00