u/tensordiv

▲ 18 r/Zig

Network Sockets in Tests

With the current version v0.16 it looks like IO Operations such as Network or File Operations are only possible with the std.process.Init Object. Is there a way to perform IO Operations in a test:

test "grammer fuzz http server" { try std.testing.fuzz({}, testRequest, .{}); }

So i can use the smith and the test framework for grammer fuzzing a http server?

reddit.com
u/tensordiv — 5 days ago