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 committed by Michael Murphy
parent f734ccbbde
commit 39e8300d90
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