nixt
nixt copied to clipboard
__nixt registry schema
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 considering a schema like so:
graph TD;
A[__nixt];
B[testSpec];
BA[...testFiles];
BAA[...testSuites];
BAAA[...testCases];
C[options];
D[__schema];
A-->B;
B-->BA-->BAA-->BAAA;
A-->C;
A-->D;
https://github.com/colinhacks/zod may be useful here.
https://github.com/colinhacks/zod may be useful here.
I'd recommend https://github.com/Effect-TS/schema instead
Any reasons to give?
This is already implemented as a v0. I'll leave this issue open in case there are any suggested modifications.