nixt
nixt copied to clipboard
Simple unit-testing for Nix [maintainer=@Lord-Valen]
Automated changes by the [update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) GitHub Action. ``` Flake lock file updates: • Updated input 'flake-compat': 'github:edolstra/flake-compat/35bb57c0c8d8b62bbfd284272c928ceb64ddbde9?narHash=sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm%2B504Ch3sNKLd8%3D' (2023-01-17) → 'github:edolstra/flake-compat/0f9255e01c2351cc7d116c072cb317785dd33b33?narHash=sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U%3D' (2023-10-04) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/7e0743a5aea1dc755d4b761daf75b20aa486fdad?narHash=sha256-uaCQ2k1bmojHKjWQngvnnnxQJMY8zi1zq527HdWgQf8%3D' (2023-05-16) → 'github:NixOS/nixpkgs/a1d92660c6b3b7c26fb883500a80ea9d33321be2?narHash=sha256-V5LpfdHyQkUF7RfOaDPrZDP%2Boqz88lTJrMT1%2BstXNwo%3D' (2024-09-20)...
Settings attrset: ```nix { "verbose" = true; "list" = false; "trace" = false; "watch" = false; } ``` No CLI args provided. Two suites, each has: - one test that...
Are there any plans or reasons not to include this in nixpkgs? I think we lack something like this as go-to solution that just comes with nixpkgs.
https://github.com/Marak/colors.js hasn't been updated on npm in 4 years. https://github.com/chalk/chalk should pretty much be a drop-in replacement and offers more features.
It would be quite nice if nixt could make derivations from test blocks (which purposefully fail builds if the test fails). Such a function should probably take a list of...
This is one of the things which opens up interoperability with https://github.com/divnix/std. We should output a registry, `__nixt`, which contains the data nixt needs to run tests. Right now I'm...