While some unit tests exist, there are no integration tests that verify the complete backup workflow from start to finish.
Missing Integration Tests
Full backup cycle
Create initial backup
Modify files
Create second backup
Verify hardlinks are correct
Verify changed files are in delta dir
Retention policy integration
Create multiple backups over time
Run cleanup
Verify correct backups remain
Recovery testing
Create backup
Restore from backup
Verify all files restored correctly
Error recovery
Simulate failures mid-backup
Verify incomplete backups are handled
Verify locks are released
CLI integration
Test all command-line flags
Test various source configurations
Test dry-run mode
Proposed Solution
Add tests/test_integration.py with real filesystem operations in temporary directories.
Impact
High - No verification that the system works end-to-end.
# No integration tests for full backup workflow
**Priority:** High
**Component:** tests/
**Type:** Testing
## Description
While some unit tests exist, there are no integration tests that verify the complete backup workflow from start to finish.
## Missing Integration Tests
1. **Full backup cycle**
- Create initial backup
- Modify files
- Create second backup
- Verify hardlinks are correct
- Verify changed files are in delta dir
2. **Retention policy integration**
- Create multiple backups over time
- Run cleanup
- Verify correct backups remain
3. **Recovery testing**
- Create backup
- Restore from backup
- Verify all files restored correctly
4. **Error recovery**
- Simulate failures mid-backup
- Verify incomplete backups are handled
- Verify locks are released
5. **CLI integration**
- Test all command-line flags
- Test various source configurations
- Test dry-run mode
## Proposed Solution
Add `tests/test_integration.py` with real filesystem operations in temporary directories.
## Impact
**High** - No verification that the system works end-to-end.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
No integration tests for full backup workflow
Priority: High
Component: tests/
Type: Testing
Description
While some unit tests exist, there are no integration tests that verify the complete backup workflow from start to finish.
Missing Integration Tests
Full backup cycle
Retention policy integration
Recovery testing
Error recovery
CLI integration
Proposed Solution
Add
tests/test_integration.pywith real filesystem operations in temporary directories.Impact
High - No verification that the system works end-to-end.