Installation
Add zig-test-framework to your build.zig.zon:
zig fetch --save git+https://github.com/zig-utils/zig-test-framework
Then wire the module up in build.zig:
const zig_test_framework = b.dependency("zig_test_framework", .{
.target = target,
.optimize = optimize,
});
exe.root_module.addImport("zig_test_framework", zig_test_framework.module("zig_test_framework"));
Or through Pantry:
pantry add zig-test-framework