-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Issue Description
The ydotool injector in src/ydotool_injector.rs lacks unit tests and needs comprehensive test coverage.
Current State
- No unit tests for ydotool_injector.rs
- Only relies on potential integration tests that are disabled
- Functionality cannot be verified through automated tests
Requirements
- Add comprehensive unit tests for all ydotool injector methods
- Mock dependencies and system calls for reliable testing
- Test both success and error scenarios
- Verify clipboard operations and paste functionality
Benefits
- Better code coverage
- Easier to catch regressions in ydotool functionality
- Improved reliability of Linux Wayland/clipboard injection
- Better developer experience for contributors