Pre-validate config #219
Labels
ergonomics
Making Kaocha delightful to work with and people more efficient
onboarding
Make Kaocha easier for people or projects new to it
Certain configuration mistakes still cause rather unhelpful error messages, because we validate the config after normalizing it, so errors during normalization aren't cleanly handled.
Case in point, I just accidentally did this
Which should have been
Which gave me this error
This one's a bit annoying because we do have specs for config maps, but they only apply after normalization, adding defaults, renaming non-qualified keys etc. We'll need seperate specs (or a different validation strategy) if we want to validate the raw tests.edn.
The text was updated successfully, but these errors were encountered: