microshed-testing
microshed-testing copied to clipboard
Hook to recycle application before test begins
Sometimes an app may be written assuming that it will outlive the lifecycle of its external resources, for example an app may assume a DB will already exist, and it may not be able to cope with a DB restarting during its activation.
To resolve this, we should recycle applications (if supported by the runtimes) in hollow mode so that each test run starts with a fresh application state.