repos / zmx

session persistence for terminal processes
git clone https://github.com/neurosnap/zmx.git

commit
3750464
parent
c6f3ccb
author
Eric Bower
date
2026-04-21 16:47:03 -0400 EDT
feat: zig build test-integration
1 files changed,  +8, -0
M build.zig
+8, -0
 1@@ -85,6 +85,14 @@ pub fn build(b: *std.Build) void {
 2         test_step.dependOn(&run_exe_unit_tests.step);
 3     }
 4 
 5+    // Integration tests (bats)
 6+    {
 7+        const integration_step = b.step("test-integration", "Run bats integration tests");
 8+        const bats = b.addSystemCommand(&.{ "bats", "test/session.bats" });
 9+        bats.step.dependOn(b.getInstallStep());
10+        integration_step.dependOn(&bats.step);
11+    }
12+
13     // Check for LSP integration
14     {
15         const check = b.step("check", "Check if zmx compiles");