Commit 3750464

Eric Bower  ·  2026-04-21 16:47:03 -0400 EDT
parent c6f3ccb
feat: zig build test-integration
1 files changed,  +8, -0
+8, -0
......@@ -85,6 +85,14 @@ pub fn build(b: *std.Build) void {
8585 test_step.dependOn(&run_exe_unit_tests.step);
8686 }
8787
88+ // Integration tests (bats)
89+ {
90+ const integration_step = b.step("test-integration", "Run bats integration tests");
91+ const bats = b.addSystemCommand(&.{ "bats", "test/session.bats" });
92+ bats.step.dependOn(b.getInstallStep());
93+ integration_step.dependOn(&bats.step);
94+ }
95+
8896 // Check for LSP integration
8997 {
9098 const check = b.step("check", "Check if zmx compiles");