nixt
nixt copied to clipboard
Integration into nixpkgs
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.
There are two issues with bringing Nixt to nixpkgs:
- I don't know anything about that process and would require some charity there
- The number of people who have used Nixt is so low that I have no idea if it is actually useful
There's a simpler test runner in lib.debug.runTests
, and another project (yet) outside nixpkgs at https://github.com/adisbladis/nix-unit. nix-unit
is backwards-compatible with tests written for runTests
and includes a comparision table to nixt and others at the end of its README.
From a quick glance at your docs, it seems like it would be possible for nixt to also support runTests
-style tests like e.g.
runTests {
testIsEven_1 = {
expr = math.isEven 2;
expected = true;
};
};
Not directly related to an integration into nixpkgs, but might make it easier to converge towards a community consensus around unit testing.