test: snapshots of kcolorscheme and qpalette

AI disclosure: I asked GitHub Copilot (Claude Haiku 4.5) "What's the best way to add tests for my recently merged qt theming contributions?" It suggested the insta crate for golden testing the output strings as well as some unit tests. I implemented it myself.
This commit is contained in:
Adil Hanney 2026-04-01 16:43:32 +01:00
parent f9dfa8bb2c
commit d44807cfd3
No known key found for this signature in database
7 changed files with 406 additions and 0 deletions

View file

@ -30,3 +30,10 @@ cosmic-config = { path = "../cosmic-config/", default-features = false, features
configparser = "3.1.0"
dirs.workspace = true
thiserror = "2.0.18"
[dev-dependencies]
insta = "1.47.2"
[profile.dev.package]
insta.opt-level = 3
similar.opt-level = 3