How to debug Zig with LLDB on Windows

Your test_root step add tests using addTest from the source file src/root.zig.
Add there the following test case:

test {
    try std.testing.expect(false);
}

After that, when running tests, the runner must detect the test case and display 1/1 test.test_0...FAIL (TestUnexpectedResult).

Please confirm that this happens.

1 Like