Is there a good way to add a test execution timeout for each test in Minitest?
Or should I just override `#run`?
Or should I just override `#run`?
Comments
I also need it to work for the cases where the test is currently running in a C-extension. So even if it did a timeout on the Ruby side it's not actually enforcing the timeout.
I have a version working that forks the process for each test, so you can independently kill them, but seems a bit too extreme and overkill.
Currently the tests suite runs in 0.008s so there shouldn't be an issue 🙈