I have a test suite whose execution intermittently does not complete. So this likely means that one of my tests is hanging. I'd like to be able to diagnose which. I've only observed this behaviour in a CI environment, which means I am only able to use the output of swift test
to diagnose it.
swift test
logs when a test case starts but it does not log when a test case completes. As far as I can tell, there is no option that allows you to make it do so. Is there some way that I can get it to log when a test case completes?
(My current idea is to just put a .timeLimit
trait on all of the suites, but was wondering if there was something neater I could do!)