3 Commits
Author SHA1 Message Date
sankalp e98346fad5 fix test 2026-03-22 17:53:36 +05:45
sankalp b14f279848 feat(tests): add integration tests for inhibit command parsing
Add integration tests that verify the inhibit command parses arguments correctly, covering normal execution, daemon flag usage, and default values for why and who. This provides regression protection for CLI parsing behavior.

- New Feature: Integration tests for inhibit subcommand parsing
2026-03-12 21:37:51 +05:45
sankalp 5d35f10958 feat(tests): add CLI and GPU command tests
Add tests for CLI argument parsing and GPU command generation to increase coverage and ensure future changes don't break functionality.

New Features
- Add unit test `verify_cli` to ensure Clap command is built correctly.
- Add unit tests for `xorg_intel`, `xorg_amd`, and `generate_xrandr_script` functions.
- Validate that generated Xrandr scripts contain expected provider settings.

Enhancements
- none

Bug Fixes
- none
2026-03-12 00:36:03 +05:45