Closed epsilony closed 3 years ago
Do you still get a crash if you use the localdb type connection string "(localdb)\instanceName" rather than the named pipe connection string?
(localdb) connection works fine.
And ... just tried to create a PR for this: #68 , just manually tested.
Describe the bug When datasource is some thing like:
np:\\.\pipe\LOCALDB#8216D766\tsql\query
, and if DefaultTo Reproduce Steps to reproduce the behavior:
var cc = new CodeCoverage("np:\\\\.\\pipe\\LOCALDB#8216D766\\tsql\\query", connectionString, "master", null, true);
_codeCoverage.Cover($"exec tSQLt.Run '{_testFullName}'");
SQLCover.SqlCoverException : Unable to start the trace - errors are recorded in the debug output
Error starting trace: System.Data.SqlClient.SqlException (0x80131904): Failed to open loopback connection. ...
Expected behaviorNo exceptions
Desktop (please complete the following information):
=== Please at me @GoEddie so I receive a notification