I am new to Zig. I am using VSCode as an IDE. I am using raylib and the raylib-zig-bindings.
I would like to execute individual tests in VScode, ideally like you can with zig test file.zig
I was able to add the raylib bindings/modules etc to get zig build test to work, but that runs for all unit tests. I’d like to be able to use the testing framework in vscode, however I can not seem to figure out a way to specify the module/import for zig test.
The module is added in .zon
.dependencies = .{ .@"raylib-zig-bindings" = .{
.url = "https://github.com/L-Briand/raylib-zig-bindings/releases/download/1.1.0/release.tar.gz",
.hash = "122096dfc8994542d786f21d12806a9bb9bb388d3f731aa03b0cacda0f5c48de2b5c",
} },
How do I specify --dep and -M for the above dependency.