pester / vscode-adapter

Run PowerShell Pester Tests with Visual Studio Code
MIT License
58 stars 13 forks source link

Fails to expand or run tests on macOS and Debian #104

Closed johlju closed 1 year ago

johlju commented 2 years ago

I ran into this issue on macOS, so I set up a Debian in a Hyper-V VM just to verify if it worked on Linux (this does work on Windows and Ubuntu WSL), but the same issue happens in the Debian VM. This did work in macOS half a year ago as mentioned here https://github.com/pester/vscode-adapter/issues/30#issuecomment-905667675.

When expanding a test the icon in the test explorer starts spinning and nothing happens, in the output this is shown.

image

18:00:20.534 INFO [_t.resolveHandler] Initializing Pester Test Controller and watching for Pester Files
18:00:20.587 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlScript.Tests.ps1
18:00:20.588 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlMemory.Tests.ps1
18:00:20.589 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlDatabaseRole.Tests.ps1
18:00:20.590 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlWindowsFirewall.Tests.ps1
18:00:20.590 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlLogin.Tests.ps1
18:00:20.590 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlAlwaysOnService.Tests.ps1
18:00:20.593 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlServiceAccount.Tests.ps1
18:00:20.594 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlAgentAlert.Tests.ps1
18:00:20.594 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1
18:00:20.595 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlWaitForAG.Tests.ps1
18:00:20.595 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlDatabaseUser.Tests.ps1
18:00:20.596 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlSecureConnection.Tests.ps1
18:00:20.596 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlRS.Tests.ps1
18:00:20.602 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlAlias.Tests.ps1
18:00:20.603 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlAGDatabase.Tests.ps1
18:00:20.603 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1
18:00:20.604 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.Common.Tests.ps1
18:00:20.604 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlAG.Tests.ps1
18:00:20.604 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlAGListener.Tests.ps1
18:00:20.605 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlTraceFlag.Tests.ps1
18:00:20.605 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlScriptQuery.Tests.ps1
18:00:20.608 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlDatabaseObjectPermission.Tests.ps1
18:00:20.608 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlAgentOperator.Tests.ps1
18:00:20.608 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlPermission.Tests.ps1
18:00:20.609 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlAgentFailsafe.Tests.ps1
18:00:20.609 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlDatabaseMail.Tests.ps1
18:00:20.610 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlProtocol.Tests.ps1
18:00:20.610 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlDatabase.Tests.ps1
18:00:20.610 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlConfiguration.Tests.ps1
18:00:20.611 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlMaxDop.Tests.ps1
18:00:20.611 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlAGReplica.Tests.ps1
18:00:20.612 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlProtocolTcpIp.Tests.ps1
18:00:20.612 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlDatabasePermission.Tests.ps1
18:00:20.613 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlRole.Tests.ps1
18:00:20.613 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlRSSetup.Tests.ps1
18:00:20.616 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlReplication.Tests.ps1
18:00:20.616 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlSetup.Tests.ps1
18:00:20.617 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpointPermission.Tests.ps1
18:00:20.617 INFO [_t.watchWorkspaces] Detected Pester File: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlDatabaseDefaultLocation.Tests.ps1
18:18:17.751 DEBUG [_t.resolveHandler] Adding to Discovery Queue: /home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1
18:18:19.361 INFO [_t.<anonymous>] Starting Test Discovery of 1 files
18:18:20.181 INFO [_t.startPesterInterface] Starting PowerShell testing instance: /usr/bin/pwsh
18:18:20.181 DEBUG [_t.startPesterInterface] Running Script in PS Worker: & '/home/johlju/.vscode/extensions/pspester.pester-test-2022.2.0/Scripts/PesterInterface.ps1' -Discovery '/home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1'
06:23:07.579 DEBUG [undefined.<anonymous>] Run invoked on undiscovered testFile DSC_SqlEndpoint.Tests.ps1, discovery will be run first 
06:23:07.580 INFO [_t.resolveHandler] Resolve for DSC_SqlEndpoint.Tests.ps1 requested but it is already resolving/resolved 
06:23:07.581 DEBUG [_t.startPesterInterface] Running Script in PS Worker: & '/home/johlju/.vscode/extensions/pspester.pester-test-2022.2.0/Scripts/PesterInterface.ps1' '/home/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1' 

For reference I'm using these settings:

User: image

Workspace: image

johlju commented 2 years ago

Since I don't get an error anywhere what I can see. Is it possible to see what is going on in some way?

JustinGrote commented 2 years ago

Are you on insiders? If so this may be a dupe of https://github.com/pester/vscode-adapter/issues/106.

If you go to developer tools you'll probably see an error saying something about the streams method, if so then it is this problem. I'm working on it, but it should still work on stable.

johlju commented 2 years ago

Not on Insiders - running Stable only. VS Code version: Version: 1.65.0 (Universal)

Seeing this in the "Console" tab in developer tools (this is on macOS). I get this error each time I run a test from the Test Explorer.

mainThreadExtensionService.ts:75 [[object Object]]Unexpected token  in JSON at position 0
$onExtensionRuntimeError @ mainThreadExtensionService.ts:75
_doInvokeHandler @ rpcProtocol.ts:473
_invokeHandler @ rpcProtocol.ts:458
_receiveRequest @ rpcProtocol.ts:374
_receiveOneMessage @ rpcProtocol.ts:296
(anonymous) @ rpcProtocol.ts:161
invoke @ event.ts:569
fire @ event.ts:736
fire @ ipc.net.ts:638
_receiveMessage @ ipc.net.ts:958
(anonymous) @ ipc.net.ts:831
invoke @ event.ts:569
fire @ event.ts:736
acceptChunk @ ipc.net.ts:382
(anonymous) @ ipc.net.ts:338
B @ ipc.net.ts:60
emit @ events.js:315
addChunk @ internal/streams/readable.js:309
readableAddChunk @ internal/streams/readable.js:284
Readable.push @ internal/streams/readable.js:223
onStreamRead @ internal/stream_base_commons.js:188
mainThreadExtensionService.ts:76 SyntaxError: Unexpected token  in JSON at position 0
    at JSON.parse (<anonymous>)
    at Transform.write [as _write] (vscode-file://vscode-app/Users/johlju/.vscode/extensions/pspester.pester-test-2022.2.0/dist/extension.js:25)
    at writeOrBuffer (internal/streams/writable.js:358)
    at Transform.Writable.write (internal/streams/writable.js:303)
    at W.ondata (internal/streams/readable.js:719)
    at W.emit (events.js:315)
    at addChunk (internal/streams/readable.js:309)
    at readableAddChunk (internal/streams/readable.js:284)
    at W.Readable.push (internal/streams/readable.js:223)
    at W.Transform.push (internal/streams/transform.js:166)
    at W._pushBuffer (vscode-file://vscode-app/Users/johlju/.vscode/extensions/pspester.pester-test-2022.2.0/dist/extension.js:2)
    at W._transform (vscode-file://vscode-app/Users/johlju/.vscode/extensions/pspester.pester-test-2022.2.0/dist/extension.js:2)
    at W.Transform._read (internal/streams/transform.js:205)
    at W.Transform._write (internal/streams/transform.js:193)
    at writeOrBuffer (internal/streams/writable.js:358)
    at Writable.write (internal/streams/writable.js:303)
    at Socket.ondata (internal/streams/readable.js:719)
    at Socket.emit (events.js:315)
    at addChunk (internal/streams/readable.js:309)
    at readableAddChunk (internal/streams/readable.js:284)
    at Socket.Readable.push (internal/streams/readable.js:223)
    at Pipe.onStreamRead (internal/stream_base_commons.js:188)
JustinGrote commented 2 years ago

When you debug a test, it should show a PesterInterface script being ran. Can you run that directly in the terminal and send me the raw output? It should be a bunch of json.

Unexpected token indicates maybe your test name or result has a special character in it that the json parser can't support?

johlju commented 2 years ago

In output I got this:

17:45:03.308 DEBUG [_t.startPesterInterface] Running Script in PSIC: /Users/johlju/.vscode/extensions/pspester.pester-test-2022.2.0/Scripts/PesterInterface.ps1 
[
  "'/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1'",
  '-Verbosity',
  'Diagnostic',
  '-PipeName',
  'PesterTestController-22356'
]

S I ran this in PSIC:

PS /Users/johlju/source/SqlServerDsc> /Users/johlju/.vscode/extensions/pspester.pester-test-2022.2.0/Scripts/PesterInterface.ps1 -Path '/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1' 

Starting discovery in 1 files.
Discovery found 74 tests in 841ms.
Running tests.
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be absent>>Should have property Ensure set to absent","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":134,"endLine":143,"label":"Should have property Ensure set to absent","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be absent","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be absent>>Should have property Ensure set to absent","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":134,"endLine":143,"label":"Should have property Ensure set to absent","result":3,"duration":272.0545,"durationDetail":"(272ms|123ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be absent","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be absent>>Should return the same values as passed as parameters","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":145,"endLine":155,"label":"Should return the same values as passed as parameters","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be absent","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be absent>>Should return the same values as passed as parameters","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":145,"endLine":155,"label":"Should return the same values as passed as parameters","result":3,"duration":51.6155,"durationDetail":"(52ms|30ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be absent","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be absent>>Should return the correct values in the rest of properties","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":157,"endLine":171,"label":"Should return the correct values in the rest of properties","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be absent","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be absent>>Should return the correct values in the rest of properties","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":157,"endLine":171,"label":"Should return the correct values in the rest of properties","result":3,"duration":84.0725,"durationDetail":"(84ms|12ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be absent","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be absent>>Should call the mock function Connect-SQL","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":173,"endLine":181,"label":"Should call the mock function Connect-SQL","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be absent","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be absent>>Should call the mock function Connect-SQL","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":173,"endLine":181,"label":"Should call the mock function Connect-SQL","result":3,"duration":152.4733,"durationDetail":"(152ms|11ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be absent","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be present>>Should have property Ensure set to present","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":192,"endLine":201,"label":"Should have property Ensure set to present","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be present","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be present>>Should have property Ensure set to present","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":192,"endLine":201,"label":"Should have property Ensure set to present","result":3,"duration":49.8696,"durationDetail":"(50ms|19ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be present","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be present>>Should return the same values as passed as parameters","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":203,"endLine":213,"label":"Should return the same values as passed as parameters","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be present","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be present>>Should return the same values as passed as parameters","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":203,"endLine":213,"label":"Should return the same values as passed as parameters","result":3,"duration":51.4194,"durationDetail":"(51ms|16ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be present","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be present>>Should return the correct values for the rest of the properties","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":215,"endLine":229,"label":"Should return the correct values for the rest of the properties","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be present","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be present>>Should return the correct values for the rest of the properties","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":215,"endLine":229,"label":"Should return the correct values for the rest of the properties","result":3,"duration":80.3172,"durationDetail":"(80ms|11ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be present","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be present>>Should call the mock function Connect-SQL","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":231,"endLine":239,"label":"Should call the mock function Connect-SQL","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be present","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be present>>Should call the mock function Connect-SQL","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":231,"endLine":239,"label":"Should call the mock function Connect-SQL","result":3,"duration":55.4283,"durationDetail":"(55ms|30ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be present","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When endpoint exist but with wrong endpoint type>>Should throw the correct error","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":250,"endLine":258,"label":"Should throw the correct error","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When endpoint exist but with wrong endpoint type","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When endpoint exist but with wrong endpoint type>>Should throw the correct error","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":250,"endLine":258,"label":"Should throw the correct error","result":3,"duration":146.7339,"durationDetail":"(147ms|53ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When endpoint exist but with wrong endpoint type","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be absent>>Should have property Ensure set to absent","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":319,"endLine":328,"label":"Should have property Ensure set to absent","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be absent","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be absent>>Should have property Ensure set to absent","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":319,"endLine":328,"label":"Should have property Ensure set to absent","result":3,"duration":31.8397,"durationDetail":"(32ms|16ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be absent","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be absent>>Should return the same values as passed as parameters","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":330,"endLine":340,"label":"Should return the same values as passed as parameters","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be absent","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be absent>>Should return the same values as passed as parameters","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":330,"endLine":340,"label":"Should return the same values as passed as parameters","result":3,"duration":61.1877,"durationDetail":"(61ms|19ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be absent","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be absent>>Should return the correct values in the rest of properties","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":342,"endLine":356,"label":"Should return the correct values in the rest of properties","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be absent","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be absent>>Should return the correct values in the rest of properties","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":342,"endLine":356,"label":"Should return the correct values in the rest of properties","result":3,"duration":79.919,"durationDetail":"(80ms|14ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be absent","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be absent>>Should call the mock function Connect-SQL","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":358,"endLine":366,"label":"Should call the mock function Connect-SQL","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be absent","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be absent>>Should call the mock function Connect-SQL","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":358,"endLine":366,"label":"Should call the mock function Connect-SQL","result":3,"duration":53.0525,"durationDetail":"(53ms|38ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be absent","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be present>>Should have property Ensure set to present","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":377,"endLine":385,"label":"Should have property Ensure set to present","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be present","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be present>>Should have property Ensure set to present","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":377,"endLine":385,"label":"Should have property Ensure set to present","result":3,"duration":49.2302,"durationDetail":"(49ms|14ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be present","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be present>>Should return the same values as passed as parameters","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":387,"endLine":397,"label":"Should return the same values as passed as parameters","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be present","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be present>>Should return the same values as passed as parameters","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":387,"endLine":397,"label":"Should return the same values as passed as parameters","result":3,"duration":45.7148,"durationDetail":"(46ms|10ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be present","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be present>>Should return the correct values for the rest of the properties","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":399,"endLine":413,"label":"Should return the correct values for the rest of the properties","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be present","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be present>>Should return the correct values for the rest of the properties","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":399,"endLine":413,"label":"Should return the correct values for the rest of the properties","result":3,"duration":69.5114,"durationDetail":"(70ms|11ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be present","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be present>>Should call the mock function Connect-SQL","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":415,"endLine":423,"label":"Should call the mock function Connect-SQL","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be present","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be present>>Should call the mock function Connect-SQL","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":415,"endLine":423,"label":"Should call the mock function Connect-SQL","result":3,"duration":67.2613,"durationDetail":"(67ms|15ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be present","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When endpoint exist but with wrong endpoint type>>Should throw the correct error","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":434,"endLine":442,"label":"Should throw the correct error","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When endpoint exist but with wrong endpoint type","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When endpoint exist but with wrong endpoint type>>Should throw the correct error","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":434,"endLine":442,"label":"Should throw the correct error","result":3,"duration":61.7633,"durationDetail":"(62ms|31ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When endpoint exist but with wrong endpoint type","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When Connect-SQL returns nothing>>Should throw the correct error","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":461,"endLine":469,"label":"Should throw the correct error","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When Connect-SQL returns nothing","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When Connect-SQL returns nothing>>Should throw the correct error","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":461,"endLine":469,"label":"Should throw the correct error","result":3,"duration":47.9785,"durationDetail":"(48ms|21ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Get-TargetResource>>When Connect-SQL returns nothing","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be absent>>Should return $true","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":511,"endLine":523,"label":"Should return $true","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be absent","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be absent>>Should return $true","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":511,"endLine":523,"label":"Should return $true","result":3,"duration":46.2635,"durationDetail":"(46ms|15ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be absent","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be present>>Should return $true","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":545,"endLine":556,"label":"Should return $true","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be present","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be present>>Should return $true","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":545,"endLine":556,"label":"Should return $true","result":3,"duration":37.1553,"durationDetail":"(37ms|15ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be present","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be absent>>Should return $true","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":580,"endLine":592,"label":"Should return $true","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be absent","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be absent>>Should return $true","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":580,"endLine":592,"label":"Should return $true","result":3,"duration":24.1002,"durationDetail":"(24ms|21ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be absent","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be present>>Should return $true","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":614,"endLine":625,"label":"Should return $true","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be present","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be present>>Should return $true","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":614,"endLine":625,"label":"Should return $true","result":3,"duration":32.011,"durationDetail":"(32ms|16ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When using a Service Broker endpoint>>When the endpoint should be present","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When endpoint is a <MockEndpointType>>>When the endpoint type specific parameter <MockParameterName> is in desired state>>Should return $true>>MockEndpointType=DatabaseMirroring>>MockParameterName=IsMessageForwardingEnabled>>MockParameterValue=True","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":669,"endLine":683,"label":"Should return $true","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When endpoint is a <MockEndpointType>>>When the endpoint type specific parameter <MockParameterName> is in desired state>>MockEndpointType=DatabaseMirroring>>MockParameterName=IsMessageForwardingEnabled>>MockParameterValue=True","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When endpoint is a <MockEndpointType>>>When the endpoint type specific parameter <MockParameterName> is in desired state>>Should return $true>>MockEndpointType=DatabaseMirroring>>MockParameterName=IsMessageForwardingEnabled>>MockParameterValue=True","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":669,"endLine":683,"label":"Should return $true","result":3,"duration":22.7528,"durationDetail":"(23ms|35ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When endpoint is a <MockEndpointType>>>When the endpoint type specific parameter <MockParameterName> is in desired state>>MockEndpointType=DatabaseMirroring>>MockParameterName=IsMessageForwardingEnabled>>MockParameterValue=True","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When endpoint is a <MockEndpointType>>>When the endpoint type specific parameter <MockParameterName> is in desired state>>Should return $true>>MockEndpointType=DatabaseMirroring>>MockParameterName=MessageForwardingSize>>MockParameterValue=2","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":669,"endLine":683,"label":"Should return $true","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When endpoint is a <MockEndpointType>>>When the endpoint type specific parameter <MockParameterName> is in desired state>>MockEndpointType=DatabaseMirroring>>MockParameterName=MessageForwardingSize>>MockParameterValue=2","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When endpoint is a <MockEndpointType>>>When the endpoint type specific parameter <MockParameterName> is in desired state>>Should return $true>>MockEndpointType=DatabaseMirroring>>MockParameterName=MessageForwardingSize>>MockParameterValue=2","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":669,"endLine":683,"label":"Should return $true","result":3,"duration":30.5431,"durationDetail":"(31ms|17ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When endpoint is a <MockEndpointType>>>When the endpoint type specific parameter <MockParameterName> is in desired state>>MockEndpointType=DatabaseMirroring>>MockParameterName=MessageForwardingSize>>MockParameterValue=2","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When endpoint is a <MockEndpointType>>>When the endpoint type specific parameter <MockParameterName> is in desired state>>Should return $true>>MockEndpointType=ServiceBroker>>MockParameterName=IsMessageForwardingEnabled>>MockParameterValue=True","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":669,"endLine":683,"label":"Should return $true","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When endpoint is a <MockEndpointType>>>When the endpoint type specific parameter <MockParameterName> is in desired state>>MockEndpointType=ServiceBroker>>MockParameterName=IsMessageForwardingEnabled>>MockParameterValue=True","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When endpoint is a <MockEndpointType>>>When the endpoint type specific parameter <MockParameterName> is in desired state>>Should return $true>>MockEndpointType=ServiceBroker>>MockParameterName=IsMessageForwardingEnabled>>MockParameterValue=True","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":669,"endLine":683,"label":"Should return $true","result":3,"duration":24.8172,"durationDetail":"(25ms|17ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When endpoint is a <MockEndpointType>>>When the endpoint type specific parameter <MockParameterName> is in desired state>>MockEndpointType=ServiceBroker>>MockParameterName=IsMessageForwardingEnabled>>MockParameterValue=True","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When endpoint is a <MockEndpointType>>>When the endpoint type specific parameter <MockParameterName> is in desired state>>Should return $true>>MockEndpointType=ServiceBroker>>MockParameterName=MessageForwardingSize>>MockParameterValue=2","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":669,"endLine":683,"label":"Should return $true","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When endpoint is a <MockEndpointType>>>When the endpoint type specific parameter <MockParameterName> is in desired state>>MockEndpointType=ServiceBroker>>MockParameterName=MessageForwardingSize>>MockParameterValue=2","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When endpoint is a <MockEndpointType>>>When the endpoint type specific parameter <MockParameterName> is in desired state>>Should return $true>>MockEndpointType=ServiceBroker>>MockParameterName=MessageForwardingSize>>MockParameterValue=2","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":669,"endLine":683,"label":"Should return $true","result":3,"duration":22.5012,"durationDetail":"(23ms|21ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When endpoint is a <MockEndpointType>>>When the endpoint type specific parameter <MockParameterName> is in desired state>>MockEndpointType=ServiceBroker>>MockParameterName=MessageForwardingSize>>MockParameterValue=2","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When the parameter <MockParameterName> is in desired state>>Should return $true>>MockParameterName=Owner>>MockParameterValue=sa","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":723,"endLine":735,"label":"Should return $true","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When the parameter <MockParameterName> is in desired state>>MockParameterName=Owner>>MockParameterValue=sa","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When the parameter <MockParameterName> is in desired state>>Should return $true>>MockParameterName=Owner>>MockParameterValue=sa","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":723,"endLine":735,"label":"Should return $true","result":3,"duration":20.545,"durationDetail":"(21ms|16ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When the parameter <MockParameterName> is in desired state>>MockParameterName=Owner>>MockParameterValue=sa","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When the parameter <MockParameterName> is in desired state>>Should return $true>>MockParameterName=State>>MockParameterValue=Started","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":723,"endLine":735,"label":"Should return $true","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When the parameter <MockParameterName> is in desired state>>MockParameterName=State>>MockParameterValue=Started","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When the parameter <MockParameterName> is in desired state>>Should return $true>>MockParameterName=State>>MockParameterValue=Started","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":723,"endLine":735,"label":"Should return $true","result":3,"duration":27.3001,"durationDetail":"(27ms|16ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When the parameter <MockParameterName> is in desired state>>MockParameterName=State>>MockParameterValue=Started","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When the parameter <MockParameterName> is in desired state>>Should return $true>>MockParameterName=Port>>MockParameterValue=5022","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":723,"endLine":735,"label":"Should return $true","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When the parameter <MockParameterName> is in desired state>>MockParameterName=Port>>MockParameterValue=5022","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When the parameter <MockParameterName> is in desired state>>Should return $true>>MockParameterName=Port>>MockParameterValue=5022","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":723,"endLine":735,"label":"Should return $true","result":3,"duration":28.4564,"durationDetail":"(28ms|15ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When the parameter <MockParameterName> is in desired state>>MockParameterName=Port>>MockParameterValue=5022","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When the parameter <MockParameterName> is in desired state>>Should return $true>>MockParameterName=IpAddress>>MockParameterValue=0.0.0.0","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":723,"endLine":735,"label":"Should return $true","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When the parameter <MockParameterName> is in desired state>>MockParameterName=IpAddress>>MockParameterValue=0.0.0.0","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When the parameter <MockParameterName> is in desired state>>Should return $true>>MockParameterName=IpAddress>>MockParameterValue=0.0.0.0","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":723,"endLine":735,"label":"Should return $true","result":3,"duration":29.8449,"durationDetail":"(30ms|16ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is in the desired state>>When the parameter <MockParameterName> is in desired state>>MockParameterName=IpAddress>>MockParameterValue=0.0.0.0","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be absent but it exist>>Should return $false","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":760,"endLine":772,"label":"Should return $false","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be absent but it exist","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be absent but it exist>>Should return $false","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":760,"endLine":772,"label":"Should return $false","result":3,"duration":36.2221,"durationDetail":"(36ms|12ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be absent but it exist","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be present but it does not exist>>Should return $false","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":794,"endLine":805,"label":"Should return $false","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be present but it does not exist","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be present but it does not exist>>Should return $false","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":794,"endLine":805,"label":"Should return $false","result":3,"duration":164.0947,"durationDetail":"(164ms|46ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When using a Database Mirroring endpoint>>When the endpoint should be present but it does not exist","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When using a Service Broker endpoint>>When the endpoint should be absent>>Should return $false","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":829,"endLine":841,"label":"Should return $false","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When using a Service Broker endpoint>>When the endpoint should be absent","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When using a Service Broker endpoint>>When the endpoint should be absent>>Should return $false","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":829,"endLine":841,"label":"Should return $false","result":3,"duration":24.9613,"durationDetail":"(25ms|12ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When using a Service Broker endpoint>>When the endpoint should be absent","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When using a Service Broker endpoint>>When the endpoint should be present>>Should return $false","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":863,"endLine":874,"label":"Should return $false","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When using a Service Broker endpoint>>When the endpoint should be present","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When using a Service Broker endpoint>>When the endpoint should be present>>Should return $false","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":863,"endLine":874,"label":"Should return $false","result":3,"duration":33.7718,"durationDetail":"(34ms|19ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When using a Service Broker endpoint>>When the endpoint should be present","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When endpoint is a <MockEndpointType>>>When the endpoint type specific parameter <MockParameterName> is not in desired state>>Should return $false>>MockEndpointType=DatabaseMirroring>>MockParameterName=IsMessageForwardingEnabled>>MockParameterValue=True","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":914,"endLine":928,"label":"Should return $false","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When endpoint is a <MockEndpointType>>>When the endpoint type specific parameter <MockParameterName> is not in desired state>>MockEndpointType=DatabaseMirroring>>MockParameterName=IsMessageForwardingEnabled>>MockParameterValue=True","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When endpoint is a <MockEndpointType>>>When the endpoint type specific parameter <MockParameterName> is not in desired state>>Should return $false>>MockEndpointType=DatabaseMirroring>>MockParameterName=IsMessageForwardingEnabled>>MockParameterValue=True","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":914,"endLine":928,"label":"Should return $false","result":3,"duration":33.2469,"durationDetail":"(33ms|16ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When endpoint is a <MockEndpointType>>>When the endpoint type specific parameter <MockParameterName> is not in desired state>>MockEndpointType=DatabaseMirroring>>MockParameterName=IsMessageForwardingEnabled>>MockParameterValue=True","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When endpoint is a <MockEndpointType>>>When the endpoint type specific parameter <MockParameterName> is not in desired state>>Should return $false>>MockEndpointType=DatabaseMirroring>>MockParameterName=MessageForwardingSize>>MockParameterValue=2","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":914,"endLine":928,"label":"Should return $false","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When endpoint is a <MockEndpointType>>>When the endpoint type specific parameter <MockParameterName> is not in desired state>>MockEndpointType=DatabaseMirroring>>MockParameterName=MessageForwardingSize>>MockParameterValue=2","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When endpoint is a <MockEndpointType>>>When the endpoint type specific parameter <MockParameterName> is not in desired state>>Should return $false>>MockEndpointType=DatabaseMirroring>>MockParameterName=MessageForwardingSize>>MockParameterValue=2","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":914,"endLine":928,"label":"Should return $false","result":3,"duration":22.4441,"durationDetail":"(22ms|15ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When endpoint is a <MockEndpointType>>>When the endpoint type specific parameter <MockParameterName> is not in desired state>>MockEndpointType=DatabaseMirroring>>MockParameterName=MessageForwardingSize>>MockParameterValue=2","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When endpoint is a <MockEndpointType>>>When the endpoint type specific parameter <MockParameterName> is not in desired state>>Should return $false>>MockEndpointType=ServiceBroker>>MockParameterName=IsMessageForwardingEnabled>>MockParameterValue=True","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":914,"endLine":928,"label":"Should return $false","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When endpoint is a <MockEndpointType>>>When the endpoint type specific parameter <MockParameterName> is not in desired state>>MockEndpointType=ServiceBroker>>MockParameterName=IsMessageForwardingEnabled>>MockParameterValue=True","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When endpoint is a <MockEndpointType>>>When the endpoint type specific parameter <MockParameterName> is not in desired state>>Should return $false>>MockEndpointType=ServiceBroker>>MockParameterName=IsMessageForwardingEnabled>>MockParameterValue=True","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":914,"endLine":928,"label":"Should return $false","result":3,"duration":22.7923,"durationDetail":"(23ms|15ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When endpoint is a <MockEndpointType>>>When the endpoint type specific parameter <MockParameterName> is not in desired state>>MockEndpointType=ServiceBroker>>MockParameterName=IsMessageForwardingEnabled>>MockParameterValue=True","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When endpoint is a <MockEndpointType>>>When the endpoint type specific parameter <MockParameterName> is not in desired state>>Should return $false>>MockEndpointType=ServiceBroker>>MockParameterName=MessageForwardingSize>>MockParameterValue=2","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":914,"endLine":928,"label":"Should return $false","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When endpoint is a <MockEndpointType>>>When the endpoint type specific parameter <MockParameterName> is not in desired state>>MockEndpointType=ServiceBroker>>MockParameterName=MessageForwardingSize>>MockParameterValue=2","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When endpoint is a <MockEndpointType>>>When the endpoint type specific parameter <MockParameterName> is not in desired state>>Should return $false>>MockEndpointType=ServiceBroker>>MockParameterName=MessageForwardingSize>>MockParameterValue=2","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":914,"endLine":928,"label":"Should return $false","result":3,"duration":20.7517,"durationDetail":"(21ms|16ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When endpoint is a <MockEndpointType>>>When the endpoint type specific parameter <MockParameterName> is not in desired state>>MockEndpointType=ServiceBroker>>MockParameterName=MessageForwardingSize>>MockParameterValue=2","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When the parameter <MockParameterName> is not in desired state>>Should return $false>>MockParameterName=Owner>>MockParameterValue=NewOwner","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":968,"endLine":980,"label":"Should return $false","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When the parameter <MockParameterName> is not in desired state>>MockParameterName=Owner>>MockParameterValue=NewOwner","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When the parameter <MockParameterName> is not in desired state>>Should return $false>>MockParameterName=Owner>>MockParameterValue=NewOwner","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":968,"endLine":980,"label":"Should return $false","result":3,"duration":25.6996,"durationDetail":"(26ms|14ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When the parameter <MockParameterName> is not in desired state>>MockParameterName=Owner>>MockParameterValue=NewOwner","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When the parameter <MockParameterName> is not in desired state>>Should return $false>>MockParameterName=State>>MockParameterValue=Started","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":968,"endLine":980,"label":"Should return $false","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When the parameter <MockParameterName> is not in desired state>>MockParameterName=State>>MockParameterValue=Started","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When the parameter <MockParameterName> is not in desired state>>Should return $false>>MockParameterName=State>>MockParameterValue=Started","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":968,"endLine":980,"label":"Should return $false","result":3,"duration":24.5018,"durationDetail":"(25ms|14ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When the parameter <MockParameterName> is not in desired state>>MockParameterName=State>>MockParameterValue=Started","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When the parameter <MockParameterName> is not in desired state>>Should return $false>>MockParameterName=Port>>MockParameterValue=5023","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":968,"endLine":980,"label":"Should return $false","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When the parameter <MockParameterName> is not in desired state>>MockParameterName=Port>>MockParameterValue=5023","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When the parameter <MockParameterName> is not in desired state>>Should return $false>>MockParameterName=Port>>MockParameterValue=5023","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":968,"endLine":980,"label":"Should return $false","result":3,"duration":17.9768,"durationDetail":"(18ms|17ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When the parameter <MockParameterName> is not in desired state>>MockParameterName=Port>>MockParameterValue=5023","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When the parameter <MockParameterName> is not in desired state>>Should return $false>>MockParameterName=IpAddress>>MockParameterValue=192.168.10.2","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":968,"endLine":980,"label":"Should return $false","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When the parameter <MockParameterName> is not in desired state>>MockParameterName=IpAddress>>MockParameterValue=192.168.10.2","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When the parameter <MockParameterName> is not in desired state>>Should return $false>>MockParameterName=IpAddress>>MockParameterValue=192.168.10.2","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":968,"endLine":980,"label":"Should return $false","result":3,"duration":18.7699,"durationDetail":"(19ms|15ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>DSC_SqlEndpoint\\Test-TargetResource>>When the system is not in the desired state>>When the parameter <MockParameterName> is not in desired state>>MockParameterName=IpAddress>>MockParameterValue=192.168.10.2","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new endpoint of type <MockEndpointType> using default values>>Should create the endpoint without throwing and call the mocked methods Create() and Start()>>MockEndpointType=DatabaseMirroring","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1149,"endLine":1165,"label":"Should create the endpoint without throwing and call the mocked methods Create() and Start()","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new endpoint of type <MockEndpointType> using default values>>MockEndpointType=DatabaseMirroring","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new endpoint of type <MockEndpointType> using default values>>Should create the endpoint without throwing and call the mocked methods Create() and Start()>>MockEndpointType=DatabaseMirroring","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1149,"endLine":1165,"label":"Should create the endpoint without throwing and call the mocked methods Create() and Start()","result":3,"duration":198.1649,"durationDetail":"(198ms|8ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new endpoint of type <MockEndpointType> using default values>>MockEndpointType=DatabaseMirroring","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new endpoint of type <MockEndpointType> using default values>>Should create the endpoint without throwing and call the mocked methods Create() and Start()>>MockEndpointType=ServiceBroker","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1149,"endLine":1165,"label":"Should create the endpoint without throwing and call the mocked methods Create() and Start()","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new endpoint of type <MockEndpointType> using default values>>MockEndpointType=ServiceBroker","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new endpoint of type <MockEndpointType> using default values>>Should create the endpoint without throwing and call the mocked methods Create() and Start()>>MockEndpointType=ServiceBroker","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1149,"endLine":1165,"label":"Should create the endpoint without throwing and call the mocked methods Create() and Start()","result":3,"duration":95.5948,"durationDetail":"(96ms|11ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new endpoint of type <MockEndpointType> using default values>>MockEndpointType=ServiceBroker","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new endpoint and passing parameter State with the value '<MockState>'>>Should create the endpoint without throwing and call the mocked method Create() call the correct mocked method related to the state '<MockState>'>>MockState=Stopped","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1179,"endLine":1217,"label":"Should create the endpoint without throwing and call the mocked method Create() call the correct mocked method related to the state 'Stopped'","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new endpoint and passing parameter State with the value '<MockState>'>>MockState=Stopped","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new endpoint and passing parameter State with the value '<MockState>'>>Should create the endpoint without throwing and call the mocked method Create() call the correct mocked method related to the state '<MockState>'>>MockState=Stopped","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1179,"endLine":1217,"label":"Should create the endpoint without throwing and call the mocked method Create() call the correct mocked method related to the state 'Stopped'","result":3,"duration":100.1541,"durationDetail":"(100ms|21ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new endpoint and passing parameter State with the value '<MockState>'>>MockState=Stopped","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new endpoint and passing parameter State with the value '<MockState>'>>Should create the endpoint without throwing and call the mocked method Create() call the correct mocked method related to the state '<MockState>'>>MockState=Started","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1179,"endLine":1217,"label":"Should create the endpoint without throwing and call the mocked method Create() call the correct mocked method related to the state 'Started'","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new endpoint and passing parameter State with the value '<MockState>'>>MockState=Started","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new endpoint and passing parameter State with the value '<MockState>'>>Should create the endpoint without throwing and call the mocked method Create() call the correct mocked method related to the state '<MockState>'>>MockState=Started","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1179,"endLine":1217,"label":"Should create the endpoint without throwing and call the mocked method Create() call the correct mocked method related to the state 'Started'","result":3,"duration":121.459,"durationDetail":"(121ms|12ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new endpoint and passing parameter State with the value '<MockState>'>>MockState=Started","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new endpoint and passing parameter State with the value '<MockState>'>>Should create the endpoint without throwing and call the mocked method Create() call the correct mocked method related to the state '<MockState>'>>MockState=Disabled","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1179,"endLine":1217,"label":"Should create the endpoint without throwing and call the mocked method Create() call the correct mocked method related to the state 'Disabled'","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new endpoint and passing parameter State with the value '<MockState>'>>MockState=Disabled","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new endpoint and passing parameter State with the value '<MockState>'>>Should create the endpoint without throwing and call the mocked method Create() call the correct mocked method related to the state '<MockState>'>>MockState=Disabled","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1179,"endLine":1217,"label":"Should create the endpoint without throwing and call the mocked method Create() call the correct mocked method related to the state 'Disabled'","result":3,"duration":96.0612,"durationDetail":"(96ms|23ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new endpoint and passing parameter State with the value '<MockState>'>>MockState=Disabled","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new Database Mirroring endpoint and passing parameter <MockParameterName>>>Should create the endpoint without throwing and call the mocked methods Create() and Start()>>MockParameterName=Owner>>MockParameterValue=NewOwner","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1242,"endLine":1267,"label":"Should create the endpoint without throwing and call the mocked methods Create() and Start()","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new Database Mirroring endpoint and passing parameter <MockParameterName>>>MockParameterName=Owner>>MockParameterValue=NewOwner","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new Database Mirroring endpoint and passing parameter <MockParameterName>>>Should create the endpoint without throwing and call the mocked methods Create() and Start()>>MockParameterName=Owner>>MockParameterValue=NewOwner","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1242,"endLine":1267,"label":"Should create the endpoint without throwing and call the mocked methods Create() and Start()","result":3,"duration":92.6973,"durationDetail":"(93ms|9ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new Database Mirroring endpoint and passing parameter <MockParameterName>>>MockParameterName=Owner>>MockParameterValue=NewOwner","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new Database Mirroring endpoint and passing parameter <MockParameterName>>>Should create the endpoint without throwing and call the mocked methods Create() and Start()>>MockParameterName=IpAddress>>MockParameterValue=192.168.10.2","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1242,"endLine":1267,"label":"Should create the endpoint without throwing and call the mocked methods Create() and Start()","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new Database Mirroring endpoint and passing parameter <MockParameterName>>>MockParameterName=IpAddress>>MockParameterValue=192.168.10.2","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new Database Mirroring endpoint and passing parameter <MockParameterName>>>Should create the endpoint without throwing and call the mocked methods Create() and Start()>>MockParameterName=IpAddress>>MockParameterValue=192.168.10.2","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1242,"endLine":1267,"label":"Should create the endpoint without throwing and call the mocked methods Create() and Start()","result":3,"duration":95.2603,"durationDetail":"(95ms|13ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new Database Mirroring endpoint and passing parameter <MockParameterName>>>MockParameterName=IpAddress>>MockParameterValue=192.168.10.2","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new Database Mirroring endpoint and passing parameter <MockParameterName>>>Should create the endpoint without throwing and call the mocked methods Create() and Start()>>MockParameterName=Port>>MockParameterValue=5233","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1242,"endLine":1267,"label":"Should create the endpoint without throwing and call the mocked methods Create() and Start()","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new Database Mirroring endpoint and passing parameter <MockParameterName>>>MockParameterName=Port>>MockParameterValue=5233","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new Database Mirroring endpoint and passing parameter <MockParameterName>>>Should create the endpoint without throwing and call the mocked methods Create() and Start()>>MockParameterName=Port>>MockParameterValue=5233","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1242,"endLine":1267,"label":"Should create the endpoint without throwing and call the mocked methods Create() and Start()","result":3,"duration":86.6744,"durationDetail":"(87ms|9ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new Database Mirroring endpoint and passing parameter <MockParameterName>>>MockParameterName=Port>>MockParameterValue=5233","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new Service Broker endpoint and passing parameter <MockParameterName>>>Should create the endpoint without throwing and call the mocked methods Create() and Start()>>MockParameterName=Owner>>MockParameterValue=NewOwner","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1300,"endLine":1325,"label":"Should create the endpoint without throwing and call the mocked methods Create() and Start()","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new Service Broker endpoint and passing parameter <MockParameterName>>>MockParameterName=Owner>>MockParameterValue=NewOwner","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new Service Broker endpoint and passing parameter <MockParameterName>>>Should create the endpoint without throwing and call the mocked methods Create() and Start()>>MockParameterName=Owner>>MockParameterValue=NewOwner","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1300,"endLine":1325,"label":"Should create the endpoint without throwing and call the mocked methods Create() and Start()","result":3,"duration":116.3762,"durationDetail":"(116ms|14ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new Service Broker endpoint and passing parameter <MockParameterName>>>MockParameterName=Owner>>MockParameterValue=NewOwner","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new Service Broker endpoint and passing parameter <MockParameterName>>>Should create the endpoint without throwing and call the mocked methods Create() and Start()>>MockParameterName=IpAddress>>MockParameterValue=192.168.10.2","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1300,"endLine":1325,"label":"Should create the endpoint without throwing and call the mocked methods Create() and Start()","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new Service Broker endpoint and passing parameter <MockParameterName>>>MockParameterName=IpAddress>>MockParameterValue=192.168.10.2","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new Service Broker endpoint and passing parameter <MockParameterName>>>Should create the endpoint without throwing and call the mocked methods Create() and Start()>>MockParameterName=IpAddress>>MockParameterValue=192.168.10.2","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1300,"endLine":1325,"label":"Should create the endpoint without throwing and call the mocked methods Create() and Start()","result":3,"duration":89.5872,"durationDetail":"(90ms|10ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new Service Broker endpoint and passing parameter <MockParameterName>>>MockParameterName=IpAddress>>MockParameterValue=192.168.10.2","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new Service Broker endpoint and passing parameter <MockParameterName>>>Should create the endpoint without throwing and call the mocked methods Create() and Start()>>MockParameterName=Port>>MockParameterValue=5233","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1300,"endLine":1325,"label":"Should create the endpoint without throwing and call the mocked methods Create() and Start()","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new Service Broker endpoint and passing parameter <MockParameterName>>>MockParameterName=Port>>MockParameterValue=5233","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new Service Broker endpoint and passing parameter <MockParameterName>>>Should create the endpoint without throwing and call the mocked methods Create() and Start()>>MockParameterName=Port>>MockParameterValue=5233","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1300,"endLine":1325,"label":"Should create the endpoint without throwing and call the mocked methods Create() and Start()","result":3,"duration":85.777,"durationDetail":"(86ms|13ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new Service Broker endpoint and passing parameter <MockParameterName>>>MockParameterName=Port>>MockParameterValue=5233","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new Service Broker endpoint and passing parameter <MockParameterName>>>Should create the endpoint without throwing and call the mocked methods Create() and Start()>>MockParameterName=IsMessageForwardingEnabled>>MockParameterValue=True","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1300,"endLine":1325,"label":"Should create the endpoint without throwing and call the mocked methods Create() and Start()","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new Service Broker endpoint and passing parameter <MockParameterName>>>MockParameterName=IsMessageForwardingEnabled>>MockParameterValue=True","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new Service Broker endpoint and passing parameter <MockParameterName>>>Should create the endpoint without throwing and call the mocked methods Create() and Start()>>MockParameterName=IsMessageForwardingEnabled>>MockParameterValue=True","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1300,"endLine":1325,"label":"Should create the endpoint without throwing and call the mocked methods Create() and Start()","result":3,"duration":95.7674,"durationDetail":"(96ms|13ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new Service Broker endpoint and passing parameter <MockParameterName>>>MockParameterName=IsMessageForwardingEnabled>>MockParameterValue=True","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new Service Broker endpoint and passing parameter <MockParameterName>>>Should create the endpoint without throwing and call the mocked methods Create() and Start()>>MockParameterName=MessageForwardingSize>>MockParameterValue=2","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1300,"endLine":1325,"label":"Should create the endpoint without throwing and call the mocked methods Create() and Start()","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new Service Broker endpoint and passing parameter <MockParameterName>>>MockParameterName=MessageForwardingSize>>MockParameterValue=2","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new Service Broker endpoint and passing parameter <MockParameterName>>>Should create the endpoint without throwing and call the mocked methods Create() and Start()>>MockParameterName=MessageForwardingSize>>MockParameterValue=2","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1300,"endLine":1325,"label":"Should create the endpoint without throwing and call the mocked methods Create() and Start()","result":3,"duration":98.043,"durationDetail":"(98ms|12ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint is missing>>When creating a new Service Broker endpoint and passing parameter <MockParameterName>>>MockParameterName=MessageForwardingSize>>MockParameterValue=2","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Database Mirroring endpoint>>Should call the correct mocked method(s)>>MockParameterName=Owner>>MockParameterValue=NewOwner","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1372,"endLine":1416,"label":"Should call the correct mocked method(s)","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Database Mirroring endpoint>>MockParameterName=Owner>>MockParameterValue=NewOwner","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Database Mirroring endpoint>>Should call the correct mocked method(s)>>MockParameterName=Owner>>MockParameterValue=NewOwner","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1372,"endLine":1416,"label":"Should call the correct mocked method(s)","result":3,"duration":77.431,"durationDetail":"(77ms|13ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Database Mirroring endpoint>>MockParameterName=Owner>>MockParameterValue=NewOwner","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Database Mirroring endpoint>>Should call the correct mocked method(s)>>MockParameterName=IpAddress>>MockParameterValue=192.168.10.2","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1372,"endLine":1416,"label":"Should call the correct mocked method(s)","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Database Mirroring endpoint>>MockParameterName=IpAddress>>MockParameterValue=192.168.10.2","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Database Mirroring endpoint>>Should call the correct mocked method(s)>>MockParameterName=IpAddress>>MockParameterValue=192.168.10.2","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1372,"endLine":1416,"label":"Should call the correct mocked method(s)","result":3,"duration":54.6983,"durationDetail":"(55ms|14ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Database Mirroring endpoint>>MockParameterName=IpAddress>>MockParameterValue=192.168.10.2","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Database Mirroring endpoint>>Should call the correct mocked method(s)>>MockParameterName=Port>>MockParameterValue=5233","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1372,"endLine":1416,"label":"Should call the correct mocked method(s)","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Database Mirroring endpoint>>MockParameterName=Port>>MockParameterValue=5233","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Database Mirroring endpoint>>Should call the correct mocked method(s)>>MockParameterName=Port>>MockParameterValue=5233","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1372,"endLine":1416,"label":"Should call the correct mocked method(s)","result":3,"duration":59.8806,"durationDetail":"(60ms|13ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Database Mirroring endpoint>>MockParameterName=Port>>MockParameterValue=5233","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Database Mirroring endpoint>>Should call the correct mocked method(s)>>MockParameterName=State>>MockParameterValue=Started","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1372,"endLine":1416,"label":"Should call the correct mocked method(s)","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Database Mirroring endpoint>>MockParameterName=State>>MockParameterValue=Started","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Database Mirroring endpoint>>Should call the correct mocked method(s)>>MockParameterName=State>>MockParameterValue=Started","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1372,"endLine":1416,"label":"Should call the correct mocked method(s)","result":3,"duration":57.1027,"durationDetail":"(57ms|14ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Database Mirroring endpoint>>MockParameterName=State>>MockParameterValue=Started","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Database Mirroring endpoint>>Should call the correct mocked method(s)>>MockParameterName=State>>MockParameterValue=Stopped","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1372,"endLine":1416,"label":"Should call the correct mocked method(s)","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Database Mirroring endpoint>>MockParameterName=State>>MockParameterValue=Stopped","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Database Mirroring endpoint>>Should call the correct mocked method(s)>>MockParameterName=State>>MockParameterValue=Stopped","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1372,"endLine":1416,"label":"Should call the correct mocked method(s)","result":3,"duration":59.3365,"durationDetail":"(59ms|9ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Database Mirroring endpoint>>MockParameterName=State>>MockParameterValue=Stopped","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Database Mirroring endpoint>>Should call the correct mocked method(s)>>MockParameterName=State>>MockParameterValue=Disabled","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1372,"endLine":1416,"label":"Should call the correct mocked method(s)","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Database Mirroring endpoint>>MockParameterName=State>>MockParameterValue=Disabled","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Database Mirroring endpoint>>Should call the correct mocked method(s)>>MockParameterName=State>>MockParameterValue=Disabled","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1372,"endLine":1416,"label":"Should call the correct mocked method(s)","result":3,"duration":58.1845,"durationDetail":"(58ms|13ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Database Mirroring endpoint>>MockParameterName=State>>MockParameterValue=Disabled","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Service Broker endpoint>>Should call the correct mocked method(s)>>MockParameterName=Owner>>MockParameterValue=NewOwner","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1461,"endLine":1505,"label":"Should call the correct mocked method(s)","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Service Broker endpoint>>MockParameterName=Owner>>MockParameterValue=NewOwner","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Service Broker endpoint>>Should call the correct mocked method(s)>>MockParameterName=Owner>>MockParameterValue=NewOwner","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1461,"endLine":1505,"label":"Should call the correct mocked method(s)","result":3,"duration":55.0467,"durationDetail":"(55ms|15ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Service Broker endpoint>>MockParameterName=Owner>>MockParameterValue=NewOwner","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Service Broker endpoint>>Should call the correct mocked method(s)>>MockParameterName=IpAddress>>MockParameterValue=192.168.10.2","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1461,"endLine":1505,"label":"Should call the correct mocked method(s)","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Service Broker endpoint>>MockParameterName=IpAddress>>MockParameterValue=192.168.10.2","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Service Broker endpoint>>Should call the correct mocked method(s)>>MockParameterName=IpAddress>>MockParameterValue=192.168.10.2","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1461,"endLine":1505,"label":"Should call the correct mocked method(s)","result":3,"duration":58.5537,"durationDetail":"(59ms|18ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Service Broker endpoint>>MockParameterName=IpAddress>>MockParameterValue=192.168.10.2","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Service Broker endpoint>>Should call the correct mocked method(s)>>MockParameterName=Port>>MockParameterValue=5233","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1461,"endLine":1505,"label":"Should call the correct mocked method(s)","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Service Broker endpoint>>MockParameterName=Port>>MockParameterValue=5233","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Service Broker endpoint>>Should call the correct mocked method(s)>>MockParameterName=Port>>MockParameterValue=5233","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1461,"endLine":1505,"label":"Should call the correct mocked method(s)","result":3,"duration":57.7549,"durationDetail":"(58ms|18ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Service Broker endpoint>>MockParameterName=Port>>MockParameterValue=5233","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Service Broker endpoint>>Should call the correct mocked method(s)>>MockParameterName=State>>MockParameterValue=Started","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1461,"endLine":1505,"label":"Should call the correct mocked method(s)","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Service Broker endpoint>>MockParameterName=State>>MockParameterValue=Started","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Service Broker endpoint>>Should call the correct mocked method(s)>>MockParameterName=State>>MockParameterValue=Started","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1461,"endLine":1505,"label":"Should call the correct mocked method(s)","result":3,"duration":62.8513,"durationDetail":"(63ms|16ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Service Broker endpoint>>MockParameterName=State>>MockParameterValue=Started","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Service Broker endpoint>>Should call the correct mocked method(s)>>MockParameterName=State>>MockParameterValue=Stopped","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1461,"endLine":1505,"label":"Should call the correct mocked method(s)","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Service Broker endpoint>>MockParameterName=State>>MockParameterValue=Stopped","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Service Broker endpoint>>Should call the correct mocked method(s)>>MockParameterName=State>>MockParameterValue=Stopped","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1461,"endLine":1505,"label":"Should call the correct mocked method(s)","result":3,"duration":61.4228,"durationDetail":"(61ms|14ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Service Broker endpoint>>MockParameterName=State>>MockParameterValue=Stopped","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Service Broker endpoint>>Should call the correct mocked method(s)>>MockParameterName=State>>MockParameterValue=Disabled","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1461,"endLine":1505,"label":"Should call the correct mocked method(s)","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Service Broker endpoint>>MockParameterName=State>>MockParameterValue=Disabled","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Service Broker endpoint>>Should call the correct mocked method(s)>>MockParameterName=State>>MockParameterValue=Disabled","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1461,"endLine":1505,"label":"Should call the correct mocked method(s)","result":3,"duration":62.1079,"durationDetail":"(62ms|10ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Service Broker endpoint>>MockParameterName=State>>MockParameterValue=Disabled","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Service Broker endpoint>>Should call the correct mocked method(s)>>MockParameterName=IsMessageForwardingEnabled>>MockParameterValue=True","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1461,"endLine":1505,"label":"Should call the correct mocked method(s)","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Service Broker endpoint>>MockParameterName=IsMessageForwardingEnabled>>MockParameterValue=True","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Service Broker endpoint>>Should call the correct mocked method(s)>>MockParameterName=IsMessageForwardingEnabled>>MockParameterValue=True","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1461,"endLine":1505,"label":"Should call the correct mocked method(s)","result":3,"duration":67.1293,"durationDetail":"(67ms|17ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Service Broker endpoint>>MockParameterName=IsMessageForwardingEnabled>>MockParameterValue=True","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Service Broker endpoint>>Should call the correct mocked method(s)>>MockParameterName=MessageForwardingSize>>MockParameterValue=2","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1461,"endLine":1505,"label":"Should call the correct mocked method(s)","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Service Broker endpoint>>MockParameterName=MessageForwardingSize>>MockParameterValue=2","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Service Broker endpoint>>Should call the correct mocked method(s)>>MockParameterName=MessageForwardingSize>>MockParameterValue=2","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1461,"endLine":1505,"label":"Should call the correct mocked method(s)","result":3,"duration":56.5201,"durationDetail":"(57ms|14ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>When passing parameter <MockParameterName> for a Service Broker endpoint>>MockParameterName=MessageForwardingSize>>MockParameterValue=2","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>Should throw the correct error if the endpoint is not found","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1508,"endLine":1526,"label":"Should throw the correct error if the endpoint is not found","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state>>Should throw the correct error if the endpoint is not found","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1508,"endLine":1526,"label":"Should throw the correct error if the endpoint is not found","result":3,"duration":74.0575,"durationDetail":"(74ms|13ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint exist but is not in desired state","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint should not exist>>Should call the mocked method Drop()","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1538,"endLine":1556,"label":"Should call the mocked method Drop()","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint should not exist","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint should not exist>>Should call the mocked method Drop()","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1538,"endLine":1556,"label":"Should call the mocked method Drop()","result":3,"duration":64.251,"durationDetail":"(64ms|14ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint should not exist","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint should not exist>>Should throw the correct error if the endpoint to drop is not found","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1558,"endLine":1578,"label":"Should throw the correct error if the endpoint to drop is not found","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint should not exist","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint should not exist>>Should throw the correct error if the endpoint to drop is not found","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1558,"endLine":1578,"label":"Should throw the correct error if the endpoint to drop is not found","result":3,"duration":62.5377,"durationDetail":"(63ms|9ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the system is not in the desired state>>When the endpoint should not exist","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the Connect-SQL returns a $null value>>Should throw the correct error if the endpoint is not found","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1595,"endLine":1606,"label":"Should throw the correct error if the endpoint is not found","result":2,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the Connect-SQL returns a $null value","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the Connect-SQL returns a $null value>>Should throw the correct error if the endpoint is not found","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1","startLine":1595,"endLine":1606,"label":"Should throw the correct error if the endpoint is not found","result":3,"duration":43.9979,"durationDetail":"(44ms|10ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1>>SqlEndpoint\\Set-TargetResource>>When the Connect-SQL returns a $null value","tags":[]}
[+] /Users/johlju/source/SqlServerDsc/tests/Unit/DSC_SqlEndpoint.Tests.ps1 10.29s (5.89s|3.59s)
Tests completed in 10.32s
Tests Passed: 74, Failed: 0, Skipped: 0 NotRun: 0
PS /Users/johlju/source/SqlServerDsc> 
johlju commented 2 years ago

When I clicked on "Debug Test" in the test explorer, the test actually started to run in the PSIC, but froze in the middle pf the test... Stopping debug did not release PSIC either - the PSIC "froze" so only way to get back was to terminate the PSIC and start a new one. Using "Debug Test" did not generate any error in the developer tools.

johlju commented 2 years ago

Unexpected token indicates maybe your test name or result has a special character in it that the json parser can't support?

It should be all english language text in test names. Not sure what you mean by result. Results are from Pester?

JustinGrote commented 2 years ago

So that JSON above is what gets fed to the extension, it reads it in line-by-line, converts from JSON, and then adds it to the test tree. The error you're showing suggests it is unable to parse the JSON for one of these entries because it contains a non-unicode character (the ? with the diamond around it icon). If I get a chance I'll run them thru the parser and find which one.

johlju commented 2 years ago

I got you. But the same error is shown for every test I made, and also for those tests that did work half a year ago, and those tests has not changed. So in that case it feels like the parsing of the JSON is different on macOS and Debian than Windows? I do not get that issue on Windows. 🤔

johlju commented 2 years ago

@JustinGrote can you point me to where in the code it parses the input? See if I can debug this on the macOS

Looking at the output between Windows and macOS I see that it does something different. On Windows it outputs all tests in CAPS. Otherwise I can't se a difference (except for the obvious path).

This is from Windows during discovery:

{"type":"Block","id":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO","error":null,"file":"C:\\source\\SqlServerDsc\\tests\\Unit\\SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":81,"endLine":282,"label":"Measure-CommandsNeededToLoadSMO","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1","tags":[]}
{"type":"Block","id":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN CALLING THE FUNCTION DIRECTLY","error":null,"file":"C:\\source\\SqlServerDsc\\tests\\Unit\\SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":92,"endLine":183,"label":"When calling the function directly","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO","tags":[]}
{"type":"Block","id":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN CALLING THE FUNCTION DIRECTLY>>WHEN A FUNCTION DO NOT HAVE A CALL TO NEITHER IMPORT-SQLPSMODULE OR CONNECT-SQL","error":null,"file":"C:\\source\\SqlServerDsc\\tests\\Unit\\SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":98,"endLine":126,"label":"When a function do not have a call to neither Import-SQLPSModule or Connect-SQL","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN CALLING THE FUNCTION DIRECTLY","tags":[]}
{"type":"Test","id":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN CALLING THE FUNCTION DIRECTLY>>WHEN A FUNCTION DO NOT HAVE A CALL TO NEITHER IMPORT-SQLPSMODULE OR CONNECT-SQL>>SHOULD WRITE THE CORRECT ERROR RECORD FOR FUNCTION <FUNCTIONNAME>>>FUNCTIONNAME=GET-TARGETRESOURCE","error":null,"file":"C:\\source\\SqlServerDsc\\tests\\Unit\\SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":99,"endLine":125,"label":"Should write the correct error record for function Get-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN CALLING THE FUNCTION DIRECTLY>>WHEN A FUNCTION DO NOT HAVE A CALL TO NEITHER IMPORT-SQLPSMODULE OR CONNECT-SQL","tags":[]}
{"type":"Test","id":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN CALLING THE FUNCTION DIRECTLY>>WHEN A FUNCTION DO NOT HAVE A CALL TO NEITHER IMPORT-SQLPSMODULE OR CONNECT-SQL>>SHOULD WRITE THE CORRECT ERROR RECORD FOR FUNCTION <FUNCTIONNAME>>>FUNCTIONNAME=TEST-TARGETRESOURCE","error":null,"file":"C:\\source\\SqlServerDsc\\tests\\Unit\\SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":99,"endLine":125,"label":"Should write the correct error record for function Test-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN CALLING THE FUNCTION DIRECTLY>>WHEN A FUNCTION DO NOT HAVE A CALL TO NEITHER IMPORT-SQLPSMODULE OR CONNECT-SQL","tags":[]}
{"type":"Test","id":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN CALLING THE FUNCTION DIRECTLY>>WHEN A FUNCTION DO NOT HAVE A CALL TO NEITHER IMPORT-SQLPSMODULE OR CONNECT-SQL>>SHOULD WRITE THE CORRECT ERROR RECORD FOR FUNCTION <FUNCTIONNAME>>>FUNCTIONNAME=SET-TARGETRESOURCE","error":null,"file":"C:\\source\\SqlServerDsc\\tests\\Unit\\SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":99,"endLine":125,"label":"Should write the correct error record for function Set-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN CALLING THE FUNCTION DIRECTLY>>WHEN A FUNCTION DO NOT HAVE A CALL TO NEITHER IMPORT-SQLPSMODULE OR CONNECT-SQL","tags":[]}
{"type":"Block","id":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN CALLING THE FUNCTION DIRECTLY>>WHEN A FUNCTION HAVE A CALL TO IMPORT-SQLPSMODULE","error":null,"file":"C:\\source\\SqlServerDsc\\tests\\Unit\\SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":128,"endLine":154,"label":"When a function have a call to Import-SQLPSModule","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN CALLING THE FUNCTION DIRECTLY","tags":[]}
{"type":"Test","id":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN CALLING THE FUNCTION DIRECTLY>>WHEN A FUNCTION HAVE A CALL TO IMPORT-SQLPSMODULE>>SHOULD NOT RETURN AN ERROR RECORD FOR FUNCTION <FUNCTIONNAME>>>FUNCTIONNAME=GET-TARGETRESOURCE","error":null,"file":"C:\\source\\SqlServerDsc\\tests\\Unit\\SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":129,"endLine":153,"label":"Should not return an error record for function Get-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN CALLING THE FUNCTION DIRECTLY>>WHEN A FUNCTION HAVE A CALL TO IMPORT-SQLPSMODULE","tags":[]}
{"type":"Test","id":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN CALLING THE FUNCTION DIRECTLY>>WHEN A FUNCTION HAVE A CALL TO IMPORT-SQLPSMODULE>>SHOULD NOT RETURN AN ERROR RECORD FOR FUNCTION <FUNCTIONNAME>>>FUNCTIONNAME=TEST-TARGETRESOURCE","error":null,"file":"C:\\source\\SqlServerDsc\\tests\\Unit\\SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":129,"endLine":153,"label":"Should not return an error record for function Test-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN CALLING THE FUNCTION DIRECTLY>>WHEN A FUNCTION HAVE A CALL TO IMPORT-SQLPSMODULE","tags":[]}
{"type":"Test","id":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN CALLING THE FUNCTION DIRECTLY>>WHEN A FUNCTION HAVE A CALL TO IMPORT-SQLPSMODULE>>SHOULD NOT RETURN AN ERROR RECORD FOR FUNCTION <FUNCTIONNAME>>>FUNCTIONNAME=SET-TARGETRESOURCE","error":null,"file":"C:\\source\\SqlServerDsc\\tests\\Unit\\SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":129,"endLine":153,"label":"Should not return an error record for function Set-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN CALLING THE FUNCTION DIRECTLY>>WHEN A FUNCTION HAVE A CALL TO IMPORT-SQLPSMODULE","tags":[]}
{"type":"Block","id":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN CALLING THE FUNCTION DIRECTLY>>WHEN A FUNCTION HAVE A CALL TO CONNECT-SQL","error":null,"file":"C:\\source\\SqlServerDsc\\tests\\Unit\\SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":156,"endLine":182,"label":"When a function have a call to Connect-SQL","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN CALLING THE FUNCTION DIRECTLY","tags":[]}
{"type":"Test","id":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN CALLING THE FUNCTION DIRECTLY>>WHEN A FUNCTION HAVE A CALL TO CONNECT-SQL>>SHOULD NOT RETURN AN ERROR RECORD FOR FUNCTION <FUNCTIONNAME>>>FUNCTIONNAME=GET-TARGETRESOURCE","error":null,"file":"C:\\source\\SqlServerDsc\\tests\\Unit\\SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":157,"endLine":181,"label":"Should not return an error record for function Get-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN CALLING THE FUNCTION DIRECTLY>>WHEN A FUNCTION HAVE A CALL TO CONNECT-SQL","tags":[]}
{"type":"Test","id":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN CALLING THE FUNCTION DIRECTLY>>WHEN A FUNCTION HAVE A CALL TO CONNECT-SQL>>SHOULD NOT RETURN AN ERROR RECORD FOR FUNCTION <FUNCTIONNAME>>>FUNCTIONNAME=TEST-TARGETRESOURCE","error":null,"file":"C:\\source\\SqlServerDsc\\tests\\Unit\\SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":157,"endLine":181,"label":"Should not return an error record for function Test-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN CALLING THE FUNCTION DIRECTLY>>WHEN A FUNCTION HAVE A CALL TO CONNECT-SQL","tags":[]}
{"type":"Test","id":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN CALLING THE FUNCTION DIRECTLY>>WHEN A FUNCTION HAVE A CALL TO CONNECT-SQL>>SHOULD NOT RETURN AN ERROR RECORD FOR FUNCTION <FUNCTIONNAME>>>FUNCTIONNAME=SET-TARGETRESOURCE","error":null,"file":"C:\\source\\SqlServerDsc\\tests\\Unit\\SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":157,"endLine":181,"label":"Should not return an error record for function Set-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN CALLING THE FUNCTION DIRECTLY>>WHEN A FUNCTION HAVE A CALL TO CONNECT-SQL","tags":[]}
{"type":"Block","id":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN USING PSSCRIPTANALYZER","error":null,"file":"C:\\source\\SqlServerDsc\\tests\\Unit\\SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":185,"endLine":281,"label":"When using PSScriptAnalyzer","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO","tags":[]}
{"type":"Block","id":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN USING PSSCRIPTANALYZER>>WHEN A FUNCTION DO NOT HAVE A CALL TO NEITHER IMPORT-SQLPSMODULE OR CONNECT-SQL","error":null,"file":"C:\\source\\SqlServerDsc\\tests\\Unit\\SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":194,"endLine":216,"label":"When a function do not have a call to neither Import-SQLPSModule or Connect-SQL","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN USING PSSCRIPTANALYZER","tags":[]}
{"type":"Test","id":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN USING PSSCRIPTANALYZER>>WHEN A FUNCTION DO NOT HAVE A CALL TO NEITHER IMPORT-SQLPSMODULE OR CONNECT-SQL>>SHOULD WRITE THE CORRECT ERROR RECORD FOR FUNCTION <FUNCTIONNAME>>>FUNCTIONNAME=GET-TARGETRESOURCE","error":null,"file":"C:\\source\\SqlServerDsc\\tests\\Unit\\SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":195,"endLine":215,"label":"Should write the correct error record for function Get-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN USING PSSCRIPTANALYZER>>WHEN A FUNCTION DO NOT HAVE A CALL TO NEITHER IMPORT-SQLPSMODULE OR CONNECT-SQL","tags":[]}
{"type":"Test","id":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN USING PSSCRIPTANALYZER>>WHEN A FUNCTION DO NOT HAVE A CALL TO NEITHER IMPORT-SQLPSMODULE OR CONNECT-SQL>>SHOULD WRITE THE CORRECT ERROR RECORD FOR FUNCTION <FUNCTIONNAME>>>FUNCTIONNAME=TEST-TARGETRESOURCE","error":null,"file":"C:\\source\\SqlServerDsc\\tests\\Unit\\SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":195,"endLine":215,"label":"Should write the correct error record for function Test-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN USING PSSCRIPTANALYZER>>WHEN A FUNCTION DO NOT HAVE A CALL TO NEITHER IMPORT-SQLPSMODULE OR CONNECT-SQL","tags":[]}
{"type":"Test","id":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN USING PSSCRIPTANALYZER>>WHEN A FUNCTION DO NOT HAVE A CALL TO NEITHER IMPORT-SQLPSMODULE OR CONNECT-SQL>>SHOULD WRITE THE CORRECT ERROR RECORD FOR FUNCTION <FUNCTIONNAME>>>FUNCTIONNAME=SET-TARGETRESOURCE","error":null,"file":"C:\\source\\SqlServerDsc\\tests\\Unit\\SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":195,"endLine":215,"label":"Should write the correct error record for function Set-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN USING PSSCRIPTANALYZER>>WHEN A FUNCTION DO NOT HAVE A CALL TO NEITHER IMPORT-SQLPSMODULE OR CONNECT-SQL","tags":[]}
{"type":"Block","id":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN USING PSSCRIPTANALYZER>>WHEN A FUNCTION IS NOT CALLING ANY COMMANDS AT ALL","error":null,"file":"C:\\source\\SqlServerDsc\\tests\\Unit\\SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":218,"endLine":236,"label":"When a function is not calling any commands at all","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN USING PSSCRIPTANALYZER","tags":[]}
{"type":"Test","id":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN USING PSSCRIPTANALYZER>>WHEN A FUNCTION IS NOT CALLING ANY COMMANDS AT ALL>>SHOULD WRITE THE CORRECT ERROR RECORD FOR FUNCTION <FUNCTIONNAME>>>FUNCTIONNAME=GET-TARGETRESOURCE","error":null,"file":"C:\\source\\SqlServerDsc\\tests\\Unit\\SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":219,"endLine":235,"label":"Should write the correct error record for function Get-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN USING PSSCRIPTANALYZER>>WHEN A FUNCTION IS NOT CALLING ANY COMMANDS AT ALL","tags":[]}
{"type":"Test","id":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN USING PSSCRIPTANALYZER>>WHEN A FUNCTION IS NOT CALLING ANY COMMANDS AT ALL>>SHOULD WRITE THE CORRECT ERROR RECORD FOR FUNCTION <FUNCTIONNAME>>>FUNCTIONNAME=TEST-TARGETRESOURCE","error":null,"file":"C:\\source\\SqlServerDsc\\tests\\Unit\\SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":219,"endLine":235,"label":"Should write the correct error record for function Test-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN USING PSSCRIPTANALYZER>>WHEN A FUNCTION IS NOT CALLING ANY COMMANDS AT ALL","tags":[]}
{"type":"Test","id":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN USING PSSCRIPTANALYZER>>WHEN A FUNCTION IS NOT CALLING ANY COMMANDS AT ALL>>SHOULD WRITE THE CORRECT ERROR RECORD FOR FUNCTION <FUNCTIONNAME>>>FUNCTIONNAME=SET-TARGETRESOURCE","error":null,"file":"C:\\source\\SqlServerDsc\\tests\\Unit\\SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":219,"endLine":235,"label":"Should write the correct error record for function Set-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN USING PSSCRIPTANALYZER>>WHEN A FUNCTION IS NOT CALLING ANY COMMANDS AT ALL","tags":[]}
{"type":"Block","id":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN USING PSSCRIPTANALYZER>>WHEN A FUNCTION HAVE A CALL TO IMPORT-SQLPSMODULE","error":null,"file":"C:\\source\\SqlServerDsc\\tests\\Unit\\SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":238,"endLine":258,"label":"When a function have a call to Import-SQLPSModule","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN USING PSSCRIPTANALYZER","tags":[]}
{"type":"Test","id":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN USING PSSCRIPTANALYZER>>WHEN A FUNCTION HAVE A CALL TO IMPORT-SQLPSMODULE>>SHOULD NOT WRITE AN ERROR RECORD FOR FUNCTION <FUNCTIONNAME>>>FUNCTIONNAME=GET-TARGETRESOURCE","error":null,"file":"C:\\source\\SqlServerDsc\\tests\\Unit\\SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":239,"endLine":257,"label":"Should not write an error record for function Get-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN USING PSSCRIPTANALYZER>>WHEN A FUNCTION HAVE A CALL TO IMPORT-SQLPSMODULE","tags":[]}
{"type":"Test","id":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN USING PSSCRIPTANALYZER>>WHEN A FUNCTION HAVE A CALL TO IMPORT-SQLPSMODULE>>SHOULD NOT WRITE AN ERROR RECORD FOR FUNCTION <FUNCTIONNAME>>>FUNCTIONNAME=TEST-TARGETRESOURCE","error":null,"file":"C:\\source\\SqlServerDsc\\tests\\Unit\\SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":239,"endLine":257,"label":"Should not write an error record for function Test-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN USING PSSCRIPTANALYZER>>WHEN A FUNCTION HAVE A CALL TO IMPORT-SQLPSMODULE","tags":[]}
{"type":"Test","id":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN USING PSSCRIPTANALYZER>>WHEN A FUNCTION HAVE A CALL TO IMPORT-SQLPSMODULE>>SHOULD NOT WRITE AN ERROR RECORD FOR FUNCTION <FUNCTIONNAME>>>FUNCTIONNAME=SET-TARGETRESOURCE","error":null,"file":"C:\\source\\SqlServerDsc\\tests\\Unit\\SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":239,"endLine":257,"label":"Should not write an error record for function Set-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN USING PSSCRIPTANALYZER>>WHEN A FUNCTION HAVE A CALL TO IMPORT-SQLPSMODULE","tags":[]}
{"type":"Block","id":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN USING PSSCRIPTANALYZER>>WHEN A FUNCTION HAVE A CALL TO CONNECT-SQL","error":null,"file":"C:\\source\\SqlServerDsc\\tests\\Unit\\SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":260,"endLine":280,"label":"When a function have a call to Connect-SQL","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN USING PSSCRIPTANALYZER","tags":[]}
{"type":"Test","id":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN USING PSSCRIPTANALYZER>>WHEN A FUNCTION HAVE A CALL TO CONNECT-SQL>>SHOULD NOT WRITE AN ERROR RECORD FOR FUNCTION <FUNCTIONNAME>>>FUNCTIONNAME=GET-TARGETRESOURCE","error":null,"file":"C:\\source\\SqlServerDsc\\tests\\Unit\\SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":261,"endLine":279,"label":"Should not write an error record for function Get-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN USING PSSCRIPTANALYZER>>WHEN A FUNCTION HAVE A CALL TO CONNECT-SQL","tags":[]}
{"type":"Test","id":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN USING PSSCRIPTANALYZER>>WHEN A FUNCTION HAVE A CALL TO CONNECT-SQL>>SHOULD NOT WRITE AN ERROR RECORD FOR FUNCTION <FUNCTIONNAME>>>FUNCTIONNAME=TEST-TARGETRESOURCE","error":null,"file":"C:\\source\\SqlServerDsc\\tests\\Unit\\SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":261,"endLine":279,"label":"Should not write an error record for function Test-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN USING PSSCRIPTANALYZER>>WHEN A FUNCTION HAVE A CALL TO CONNECT-SQL","tags":[]}
{"type":"Test","id":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN USING PSSCRIPTANALYZER>>WHEN A FUNCTION HAVE A CALL TO CONNECT-SQL>>SHOULD NOT WRITE AN ERROR RECORD FOR FUNCTION <FUNCTIONNAME>>>FUNCTIONNAME=SET-TARGETRESOURCE","error":null,"file":"C:\\source\\SqlServerDsc\\tests\\Unit\\SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":261,"endLine":279,"label":"Should not write an error record for function Set-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"C:\\SOURCE\\SQLSERVERDSC\\TESTS\\UNIT\\SQLSERVERDSC.ANALYZERRULES.TESTS.PS1>>MEASURE-COMMANDSNEEDEDTOLOADSMO>>WHEN USING PSSCRIPTANALYZER>>WHEN A FUNCTION HAVE A CALL TO CONNECT-SQL","tags":[]}

And this is from macOS during discovery:

{"type":"Block","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":81,"endLine":282,"label":"Measure-CommandsNeededToLoadSMO","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1","tags":[]}
{"type":"Block","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When calling the function directly","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":92,"endLine":183,"label":"When calling the function directly","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO","tags":[]}
{"type":"Block","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When calling the function directly>>When a function do not have a call to neither Import-SQLPSModule or Connect-SQL","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":98,"endLine":126,"label":"When a function do not have a call to neither Import-SQLPSModule or Connect-SQL","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When calling the function directly","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When calling the function directly>>When a function do not have a call to neither Import-SQLPSModule or Connect-SQL>>Should write the correct error record for function <FunctionName>>>FunctionName=Get-TargetResource","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":99,"endLine":125,"label":"Should write the correct error record for function Get-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When calling the function directly>>When a function do not have a call to neither Import-SQLPSModule or Connect-SQL","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When calling the function directly>>When a function do not have a call to neither Import-SQLPSModule or Connect-SQL>>Should write the correct error record for function <FunctionName>>>FunctionName=Test-TargetResource","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":99,"endLine":125,"label":"Should write the correct error record for function Test-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When calling the function directly>>When a function do not have a call to neither Import-SQLPSModule or Connect-SQL","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When calling the function directly>>When a function do not have a call to neither Import-SQLPSModule or Connect-SQL>>Should write the correct error record for function <FunctionName>>>FunctionName=Set-TargetResource","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":99,"endLine":125,"label":"Should write the correct error record for function Set-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When calling the function directly>>When a function do not have a call to neither Import-SQLPSModule or Connect-SQL","tags":[]}
{"type":"Block","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When calling the function directly>>When a function have a call to Import-SQLPSModule","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":128,"endLine":154,"label":"When a function have a call to Import-SQLPSModule","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When calling the function directly","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When calling the function directly>>When a function have a call to Import-SQLPSModule>>Should not return an error record for function <FunctionName>>>FunctionName=Get-TargetResource","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":129,"endLine":153,"label":"Should not return an error record for function Get-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When calling the function directly>>When a function have a call to Import-SQLPSModule","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When calling the function directly>>When a function have a call to Import-SQLPSModule>>Should not return an error record for function <FunctionName>>>FunctionName=Test-TargetResource","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":129,"endLine":153,"label":"Should not return an error record for function Test-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When calling the function directly>>When a function have a call to Import-SQLPSModule","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When calling the function directly>>When a function have a call to Import-SQLPSModule>>Should not return an error record for function <FunctionName>>>FunctionName=Set-TargetResource","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":129,"endLine":153,"label":"Should not return an error record for function Set-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When calling the function directly>>When a function have a call to Import-SQLPSModule","tags":[]}
{"type":"Block","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When calling the function directly>>When a function have a call to Connect-SQL","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":156,"endLine":182,"label":"When a function have a call to Connect-SQL","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When calling the function directly","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When calling the function directly>>When a function have a call to Connect-SQL>>Should not return an error record for function <FunctionName>>>FunctionName=Get-TargetResource","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":157,"endLine":181,"label":"Should not return an error record for function Get-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When calling the function directly>>When a function have a call to Connect-SQL","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When calling the function directly>>When a function have a call to Connect-SQL>>Should not return an error record for function <FunctionName>>>FunctionName=Test-TargetResource","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":157,"endLine":181,"label":"Should not return an error record for function Test-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When calling the function directly>>When a function have a call to Connect-SQL","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When calling the function directly>>When a function have a call to Connect-SQL>>Should not return an error record for function <FunctionName>>>FunctionName=Set-TargetResource","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":157,"endLine":181,"label":"Should not return an error record for function Set-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When calling the function directly>>When a function have a call to Connect-SQL","tags":[]}
{"type":"Block","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When using PSScriptAnalyzer","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":185,"endLine":281,"label":"When using PSScriptAnalyzer","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO","tags":[]}
{"type":"Block","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When using PSScriptAnalyzer>>When a function do not have a call to neither Import-SQLPSModule or Connect-SQL","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":194,"endLine":216,"label":"When a function do not have a call to neither Import-SQLPSModule or Connect-SQL","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When using PSScriptAnalyzer","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When using PSScriptAnalyzer>>When a function do not have a call to neither Import-SQLPSModule or Connect-SQL>>Should write the correct error record for function <FunctionName>>>FunctionName=Get-TargetResource","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":195,"endLine":215,"label":"Should write the correct error record for function Get-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When using PSScriptAnalyzer>>When a function do not have a call to neither Import-SQLPSModule or Connect-SQL","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When using PSScriptAnalyzer>>When a function do not have a call to neither Import-SQLPSModule or Connect-SQL>>Should write the correct error record for function <FunctionName>>>FunctionName=Test-TargetResource","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":195,"endLine":215,"label":"Should write the correct error record for function Test-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When using PSScriptAnalyzer>>When a function do not have a call to neither Import-SQLPSModule or Connect-SQL","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When using PSScriptAnalyzer>>When a function do not have a call to neither Import-SQLPSModule or Connect-SQL>>Should write the correct error record for function <FunctionName>>>FunctionName=Set-TargetResource","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":195,"endLine":215,"label":"Should write the correct error record for function Set-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When using PSScriptAnalyzer>>When a function do not have a call to neither Import-SQLPSModule or Connect-SQL","tags":[]}
{"type":"Block","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When using PSScriptAnalyzer>>When a function is not calling any commands at all","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":218,"endLine":236,"label":"When a function is not calling any commands at all","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When using PSScriptAnalyzer","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When using PSScriptAnalyzer>>When a function is not calling any commands at all>>Should write the correct error record for function <FunctionName>>>FunctionName=Get-TargetResource","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":219,"endLine":235,"label":"Should write the correct error record for function Get-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When using PSScriptAnalyzer>>When a function is not calling any commands at all","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When using PSScriptAnalyzer>>When a function is not calling any commands at all>>Should write the correct error record for function <FunctionName>>>FunctionName=Test-TargetResource","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":219,"endLine":235,"label":"Should write the correct error record for function Test-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When using PSScriptAnalyzer>>When a function is not calling any commands at all","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When using PSScriptAnalyzer>>When a function is not calling any commands at all>>Should write the correct error record for function <FunctionName>>>FunctionName=Set-TargetResource","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":219,"endLine":235,"label":"Should write the correct error record for function Set-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When using PSScriptAnalyzer>>When a function is not calling any commands at all","tags":[]}
{"type":"Block","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When using PSScriptAnalyzer>>When a function have a call to Import-SQLPSModule","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":238,"endLine":258,"label":"When a function have a call to Import-SQLPSModule","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When using PSScriptAnalyzer","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When using PSScriptAnalyzer>>When a function have a call to Import-SQLPSModule>>Should not write an error record for function <FunctionName>>>FunctionName=Get-TargetResource","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":239,"endLine":257,"label":"Should not write an error record for function Get-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When using PSScriptAnalyzer>>When a function have a call to Import-SQLPSModule","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When using PSScriptAnalyzer>>When a function have a call to Import-SQLPSModule>>Should not write an error record for function <FunctionName>>>FunctionName=Test-TargetResource","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":239,"endLine":257,"label":"Should not write an error record for function Test-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When using PSScriptAnalyzer>>When a function have a call to Import-SQLPSModule","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When using PSScriptAnalyzer>>When a function have a call to Import-SQLPSModule>>Should not write an error record for function <FunctionName>>>FunctionName=Set-TargetResource","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":239,"endLine":257,"label":"Should not write an error record for function Set-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When using PSScriptAnalyzer>>When a function have a call to Import-SQLPSModule","tags":[]}
{"type":"Block","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When using PSScriptAnalyzer>>When a function have a call to Connect-SQL","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":260,"endLine":280,"label":"When a function have a call to Connect-SQL","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When using PSScriptAnalyzer","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When using PSScriptAnalyzer>>When a function have a call to Connect-SQL>>Should not write an error record for function <FunctionName>>>FunctionName=Get-TargetResource","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":261,"endLine":279,"label":"Should not write an error record for function Get-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When using PSScriptAnalyzer>>When a function have a call to Connect-SQL","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When using PSScriptAnalyzer>>When a function have a call to Connect-SQL>>Should not write an error record for function <FunctionName>>>FunctionName=Test-TargetResource","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":261,"endLine":279,"label":"Should not write an error record for function Test-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When using PSScriptAnalyzer>>When a function have a call to Connect-SQL","tags":[]}
{"type":"Test","id":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When using PSScriptAnalyzer>>When a function have a call to Connect-SQL>>Should not write an error record for function <FunctionName>>>FunctionName=Set-TargetResource","error":null,"file":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1","startLine":261,"endLine":279,"label":"Should not write an error record for function Set-TargetResource","result":7,"duration":0.0,"durationDetail":"(0ms|0ms)","message":null,"expected":null,"actual":null,"targetFile":null,"targetLine":-1,"parent":"/Users/johlju/source/SqlServerDsc/tests/Unit/SqlServerDsc.AnalyzerRules.Tests.ps1>>Measure-CommandsNeededToLoadSMO>>When using PSScriptAnalyzer>>When a function have a call to Connect-SQL","tags":[]}
JustinGrote commented 2 years ago

There are some quirks about how nodejs resolves drive letters that messed up casing so I just uppercase everything for the test ID. Apparently that's not taking effect on Mac.

fabian-lohauss commented 2 years ago

I have the same problem, but I am using a Windows host with a Debian DevContainer. In bash the non unicode character expands to: An error occurred attempting to run tests: Unexpected token ^[ in JSON at position 0 and with ansi formatting enabled i get

image

so it might be ansi formatting in the output getting in the way The test to reproduce the bug in my setup is

Describe "simple test" { It "should run" { } }

KevinMarquette commented 2 years ago

I am getting the same JSON token error with a test just as basic as that one.

JustinGrote commented 2 years ago

Since it can be reproduced in a devcontainer and not MacOS specific I can probably do some testing on that. I plan to hopefully look into this in the next few weeks, I've needed to have priorities elsewhere unfortunately.

markcandelora commented 1 year ago

Curious if there's a workaround for this issue (manually fixing the JSON file perhaps)? I'm using Pester for some development I'm doing and not having an IDE plugin is cramping my style :-D

JustinGrote commented 1 year ago

@markcandelora @KevinMarquette @fabian-lohauss @johlju can you please test with the latest 2023.7.0 release? This should be fixed now.

johlju commented 1 year ago

When trying to expand tests I now get another error, this is in Output/Window (this is on macOS):

image

The same error in the "developer tools":

image
JustinGrote commented 1 year ago

OK, I don't think the Mac respects the ansi handling as nicely as Linux does, let me see if I can wire up a Mac github action.

JustinGrote commented 1 year ago

@johlju can you try this build? It should give more detailed error as to exactly what JSON it is choking on. As far as I can tell it should be stripping those \e[?1h \e[?1l outputs. I have some additional things I can try to get the MacOS pwsh to suppress that if not.

(rename the .zip to .vsix and install it to vscode) pester-test-2023.7.0-linuxFix.zip

johlju commented 1 year ago

Installed it but now when I click on "Testing" icon it errors directly with the following and does not load the test pane:

2023-07-09 20:42:42.556 [error] [Extension Host] Unhandled error in resolveHandler of test controller "Pester" Error: Failed to create output channel. This is a bug and should never happen.
    at get channel [as channel] (/Users/johlju/.vscode/extensions/pspester.pester-test-2023.7.0-linuxFix/dist/extension.js:10:7910)
    at transport (/Users/johlju/.vscode/extensions/pspester.pester-test-2023.7.0-linuxFix/dist/extension.js:10:8285)
    at /Users/johlju/.vscode/extensions/pspester.pester-test-2023.7.0-linuxFix/dist/extension.js:10:2847
    at Array.forEach (<anonymous>)
    at G.log (/Users/johlju/.vscode/extensions/pspester.pester-test-2023.7.0-linuxFix/dist/extension.js:10:2835)
    at G.info (/Users/johlju/.vscode/extensions/pspester.pester-test-2023.7.0-linuxFix/dist/extension.js:10:7519)
    at te.resolveHandler (/Users/johlju/.vscode/extensions/pspester.pester-test-2023.7.0-linuxFix/dist/extension.js:11:4251)
    at a.I (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:96:17403)
    at a.expand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:96:14203)
    at e.$w_b.$expandTest (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:103:5888)
    at t.N (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:111:11199)
    at t.M (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:111:10965)
    at t.H (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:111:10046)
    at t.G (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:111:9122)
    at i.value (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:111:7952)
    at p.w (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:60:1902)
    at p.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:60:2119)
    at f.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:76:13931)
    at i.value (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:127:30341)
    at p.w (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:60:1902)
    at p.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:60:2119)
    at f.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:76:13931)
    at MessagePortMain.<anonymous> (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:127:28621)
    at MessagePortMain.emit (node:events:513:28)
    at MessagePortMain._internalPort.emit (node:electron/js2c/utility_init:2:367)
JustinGrote commented 1 year ago

Gotta love when the "never happen" errors happen eh?

give me a bit, I'm rewriting the tests that should be able to catch when this happens and clean it up and I'll put out a new build, thanks for your patience, I don't have a Mac directly so I can't see exactly what's going on.

johlju commented 1 year ago

No worries. Happy to test builds to get this working 😊

JustinGrote commented 1 year ago

@johlju I probably wont get to it today but the problem you ran into was because I included some code on something else I was working on (updating the output channel to allow for custom log formats).

I implemented a safer JSON parsing method that should surface the stream problems a lot better, I'll get a build out when I get a chance to finish it.

Ultimately a "big picture" refactor goal is to get all of this running within the PSES instance and not require a separate PowerShell process. It should be doable and should alleviate a lot of these issues.

JustinGrote commented 1 year ago

@johlju here's a new build to try, it probably wont fix but will at least show better whats going on. pester-test-2023.7.1-MacOSDebug.zip

johlju commented 1 year ago

That build works! It can expand tests, run tests and debug tests. So I think we can close this issue once that change is merged.

I saw some other problems now that I can actually run the tests on this large codebase (with thousands of tests), but they are unrelated to this issue. 🙂

JustinGrote commented 1 year ago

@johlju I've released 2021.7.1 and I'll close this as complete then unless someone else reports another issue. Glad that worked!