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.
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.