Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.55 KB

README.md

File metadata and controls

38 lines (29 loc) · 1.55 KB

zig-exhaustigen

CI CD DC LC

Zig port of exhaustigen exhaustive testing library.

🚀 Usage

  • Add exhaustigen dependency to build.zig.zon.
zig fetch --save https://github.com/tensorush/zig-exhaustigen/archive/<git_tag_or_commit_hash>.tar.gz
  • Use exhaustigen dependency in build.zig.
const exhaustigen_dep = b.dependency("exhaustigen", .{
    .target = target,
    .optimize = optimize,
});
const exhaustigen_mod = exhaustigen_dep.module("Gen");
<compile>.root_module.addImport("Gen", exhaustigen_mod);