aantron / luv

Cross-platform asynchronous I/O and system calls
https://aantron.github.io/luv
MIT License
276 stars 26 forks source link

Convert to cram tests #156

Closed aantron closed 9 months ago

aantron commented 10 months ago

It is better for the test suite to create one process per test case, as the tests can be fairly invasive, can trash libuv state, trash the process file descriptor table, etc. In addition, cram-style tests are slightly easier to write than Alcotest tests, since only to-string conversions need to be done.