- changed status to resolved
Runtime error when using DUnitX
Issue #91
resolved
When using RunRegisteredTests for DUnitX it is possible that at the end of running a runtime error occurs.
The exception being raised is this:
EIdWinsockStubError with message 'Error on call to Winsock2 library function shutdown: Either the application has not called WSAStartup, or WSAStartup failed'.
This can happen depending on the unit finalization order and is caused because the TestInsight Client which contains a TIdHTTP instance is still alive after some Indy units are already finalized.
To solve this until this bug is fixed and a new version is released just add this line to the end of TestInsight.DUnitX.RunRegisteredTests:
TDUnitX.Filter := nil;
Comments (1)
-
reporter - Log in to comment
fixed issue
#91→ <<cset 75d030978434>>