nixpkgs/pkgs/pkgs-lib
benaryorg 3e72e7c014
pkgs.formats: negative type checking tests
Tests using `shouldFail` (new) enable testing for whether the type system catches any unintended uses (missing parameters or unavailable data types in the format).
It should not be necessary to test for all possible outliers for each format, however format-specific tests (for instance those using a rigid submodule structure) can ensure that common mistakes err out instead of being silently discarded, while also allowing test-driven development of sorts.

Signed-off-by: benaryorg <binary@benary.org>
2024-02-12 16:56:09 +00:00
..
formats formats.hocon: add backwards compatibility 2024-02-09 18:49:04 +01:00
tests pkgs.formats: negative type checking tests 2024-02-12 16:56:09 +00:00
default.nix
formats.nix formats.hocon: init 2024-02-09 16:40:22 +01:00