swift-testing icon indicating copy to clipboard operation
swift-testing copied to clipboard

Run each test in a separate process so that crashes don't stop the world.

Open dabrahams opened this issue 7 months ago • 8 comments

Description

Forking is cheap, and this will allow a test suite to keep running even if one test unexpectedly fails. The Swift standard library tests work this way.

This requires giving up on "automatically parallelize tests in process," or at least allowing users to opt out, but not on scalable execution. Again, forking is cheap.

Expected behavior

No response

Actual behavior

No response

Steps to reproduce

No response

swift-testing version/commit hash

No response

Swift & OS version (output of swift --version && uname -a)

No response

dabrahams avatar Dec 11 '23 19:12 dabrahams