Last active
January 4, 2018 22:43
-
-
Save it-praktyk/9f85dc278de34b3e9868a11dd462d36f to your computer and use it in GitHub Desktop.
Pester 3 and 4 Nunit outputs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8" standalone="no"?> | |
| <test-results xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="nunit_schema_2.5.xsd" name="Pester" total="21" errors="0" failures="5" not-run="0" inconclusive="9" ignored="3" skipped="0" invalid="0" date="2017-12-21" time="06:34:16"> | |
| <environment user="vagrant" machine-name="VAGRANT-10" cwd="C:\Users\vagrant\Desktop\Format-Pester" user-domain="VAGRANT-10" platform="Microsoft Windows 10 Enterprise Evaluation|C:\Windows|\Device\Harddisk0\Partition1" nunit-version="2.5.8.0" os-version="10.0.16299" clr-version="4.0.30319.42000" /> | |
| <culture-info current-culture="en-US" current-uiculture="en-US" /> | |
| <test-suite type="PowerShell" name="Pester" executed="True" result="Failure" success="False" time="1.6185" asserts="0"> | |
| <results> | |
| <test-suite type="TestFixture" name="DemoFunction1 - Static" executed="True" result="Failure" success="False" time="1.2689" asserts="0" description="DemoFunction1 - Static"> | |
| <results> | |
| <test-case description="does something useful S-1-1-1" name="DemoFunction1 - Static.does something useful S-1-1-1" time="0.6226" asserts="0" success="False" result="Failure" executed="True"> | |
| <failure> | |
| <message>Expected {5} to be less than {3}</message> | |
| <stack-trace>at line: 154 in C:\Users\vagrant\Desktop\Format-Pester\demo\DemoFunction1.Tests.ps1 | |
| 154: DemoFunction1 -FirstParam 5 | Should BeLessThan 3 | |
| </stack-trace> | |
| </failure> | |
| </test-case> | |
| <test-case description="does something useful S-1-1-2" name="DemoFunction1 - Static.does something useful S-1-1-2" time="0.1651" asserts="0" success="True" result="Success" executed="True" /> | |
| <test-case description="does something useful S-1-1-3" name="DemoFunction1 - Static.does something useful S-1-1-3" time="0.0263" asserts="0" success="True" result="Success" executed="True" /> | |
| <test-case description="doesn't do anything - is inconclusive S-1-1-4" name="DemoFunction1 - Static.doesn't do anything - is inconclusive S-1-1-4" time="0.0466" asserts="0" success="False" result="Inconclusive" executed="True"> | |
| <reason> | |
| <message>Inconclusive by design 1</message> | |
| </reason> | |
| </test-case> | |
| <test-case description="doesn't do anything - is inconclusive S-1-1-5" name="DemoFunction1 - Static.doesn't do anything - is inconclusive S-1-1-5" time="0.049" asserts="0" success="False" result="Inconclusive" executed="True"> | |
| <reason> | |
| <message>Inconclusive by design 2</message> | |
| </reason> | |
| </test-case> | |
| <test-case description="doesn't do anything - pending - S-1-1-6" name="DemoFunction1 - Static.doesn't do anything - pending - S-1-1-6" time="0.0096" asserts="0" success="True" result="Inconclusive" executed="True" /> | |
| <test-case description="doesn't do anything - skipped S-1-1-7" name="DemoFunction1 - Static.doesn't do anything - skipped S-1-1-7" time="0.0047" asserts="0" success="True" result="Ignored" executed="False" /> | |
| <test-case description="doesn't do anything - skipped S-1-1-8" name="DemoFunction1 - Static.doesn't do anything - skipped S-1-1-8" time="0.0363" asserts="0" success="True" result="Ignored" executed="False" /> | |
| <test-case description="does something useless S-1-2-1" name="DemoFunction1 - Static.does something useless S-1-2-1" time="0.0762" asserts="0" success="False" result="Failure" executed="True"> | |
| <failure> | |
| <message>Expected: {5} | |
| But was: {6}</message> | |
| <stack-trace>at line: 200 in C:\Users\vagrant\Desktop\Format-Pester\demo\DemoFunction1.Tests.ps1 | |
| 200: DemoFunction1 -FirstParam 6 | Should Be 5 | |
| </stack-trace> | |
| </failure> | |
| </test-case> | |
| <test-case description="does something useless S-1-2-2" name="DemoFunction1 - Static.does something useless S-1-2-2" time="0.035" asserts="0" success="True" result="Success" executed="True" /> | |
| <test-case description="doesn't do anything - pending - S-1-2-3" name="DemoFunction1 - Static.doesn't do anything - pending - S-1-2-3" time="0.004" asserts="0" success="True" result="Inconclusive" executed="True" /> | |
| <test-case description="does something useful S-1-2-4" name="DemoFunction1 - Static.does something useful S-1-2-4" time="0.0333" asserts="0" success="False" result="Failure" executed="True"> | |
| <failure> | |
| <message>Expected: value was {2}, but should not have been the same</message> | |
| <stack-trace>at line: 216 in C:\Users\vagrant\Desktop\Format-Pester\demo\DemoFunction1.Tests.ps1 | |
| 216: DemoFunction1 -FirstParam 2 | Should Not Be 2 | |
| </stack-trace> | |
| </failure> | |
| </test-case> | |
| <test-case description="doesn't do nothing - is inconclusive S-1-2-5" name="DemoFunction1 - Static.doesn't do nothing - is inconclusive S-1-2-5" time="0.0413" asserts="0" success="False" result="Inconclusive" executed="True"> | |
| <reason> | |
| <message>Inconclusive by design 3</message> | |
| </reason> | |
| </test-case> | |
| <test-case description="doesn't do anything - skipped S-1-2-6" name="DemoFunction1 - Static.doesn't do anything - skipped S-1-2-6" time="0.0287" asserts="0" success="True" result="Ignored" executed="False" /> | |
| <test-case description="doesn't do anything - pending S-1-1-7" name="DemoFunction1 - Static.doesn't do anything - pending S-1-1-7" time="0.0903" asserts="0" success="True" result="Inconclusive" executed="True" /> | |
| </results> | |
| </test-suite> | |
| <test-suite type="TestFixture" name="DemoFunction2 - Static" executed="True" result="Failure" success="False" time="0.3496" asserts="0" description="DemoFunction2 - Static"> | |
| <results> | |
| <test-case description="does something useful S-2-1-1" name="DemoFunction2 - Static.does something useful S-2-1-1" time="0.0981" asserts="0" success="True" result="Success" executed="True" /> | |
| <test-case description="does something useful S-2-2-2" name="DemoFunction2 - Static.does something useful S-2-2-2" time="0.017" asserts="0" success="True" result="Success" executed="True" /> | |
| <test-case description="doesn't do nothing - is inconclusive S-2-2-3" name="DemoFunction2 - Static.doesn't do nothing - is inconclusive S-2-2-3" time="0.0428" asserts="0" success="False" result="Inconclusive" executed="True"> | |
| <reason> | |
| <message>Inconclusive by design 1</message> | |
| </reason> | |
| </test-case> | |
| <test-case description="doesn't do nothing - is inconclusive S-2-2-4" name="DemoFunction2 - Static.doesn't do nothing - is inconclusive S-2-2-4" time="0.0274" asserts="0" success="False" result="Inconclusive" executed="True"> | |
| <reason> | |
| <message>Inconclusive by design 2</message> | |
| </reason> | |
| </test-case> | |
| <test-case description="does something useful S-2-2-5" name="DemoFunction2 - Static.does something useful S-2-2-5" time="0.0331" asserts="0" success="False" result="Failure" executed="True"> | |
| <failure> | |
| <message>Expected: value was {56}, but should not have been the same</message> | |
| <stack-trace>at line: 124 in C:\Users\vagrant\Desktop\Format-Pester\demo\DemoFunction2.Tests.ps1 | |
| 124: DemoFunction2 -FirstParam 56 | Should Not Be 56 | |
| </stack-trace> | |
| </failure> | |
| </test-case> | |
| <test-case description="doesn't do nothing - is inconclusive S-2-2-1" name="DemoFunction2 - Static.doesn't do nothing - is inconclusive S-2-2-1" time="0.0488" asserts="0" success="False" result="Inconclusive" executed="True"> | |
| <reason> | |
| <message>Inconclusive by design 3</message> | |
| </reason> | |
| </test-case> | |
| <test-case description="does something useless S-2-2-2" name="DemoFunction2 - Static.does something useless S-2-2-2" time="0.0219" asserts="0" success="True" result="Success" executed="True" /> | |
| <test-case description="does something useless S-2-2-3" name="DemoFunction2 - Static.does something useless S-2-2-3" time="0.0336" asserts="0" success="False" result="Failure" executed="True"> | |
| <failure> | |
| <message>Expected {2} to be greater than {3}</message> | |
| <stack-trace>at line: 147 in C:\Users\vagrant\Desktop\Format-Pester\demo\DemoFunction2.Tests.ps1 | |
| 147: DemoFunction2 -FirstParam 2 | Should BeGreaterThan 3 | |
| </stack-trace> | |
| </failure> | |
| </test-case> | |
| <test-case description="does something useful S-2-2-4" name="DemoFunction2 - Static.does something useful S-2-2-4" time="0.0268" asserts="0" success="True" result="Success" executed="True" /> | |
| </results> | |
| </test-suite> | |
| </results> | |
| </test-suite> | |
| </test-results> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8" standalone="no"?> | |
| <test-results xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="nunit_schema_2.5.xsd" name="Pester" total="21" errors="0" failures="5" not-run="0" inconclusive="9" ignored="3" skipped="0" invalid="0" date="2017-12-21" time="06:33:00"> | |
| <environment user="vagrant" machine-name="VAGRANT-10" cwd="C:\Users\vagrant\Desktop\Format-Pester" user-domain="VAGRANT-10" platform="Microsoft Windows 10 Enterprise Evaluation|C:\Windows|\Device\Harddisk0\Partition1" nunit-version="2.5.8.0" os-version="10.0.16299" clr-version="4.0.30319.42000" /> | |
| <culture-info current-culture="en-US" current-uiculture="en-US" /> | |
| <test-suite type="TestFixture" name="Pester" executed="True" result="Failure" success="False" time="0.5563" asserts="0" description="Pester"> | |
| <results> | |
| <test-suite type="TestFixture" name="C:\Users\vagrant\Desktop\Format-Pester\demo\DemoFunction1.Tests.ps1" executed="True" result="Failure" success="False" time="0.2635" asserts="0" description="C:\Users\vagrant\Desktop\Format-Pester\demo\DemoFunction1.Tests.ps1"> | |
| <results> | |
| <test-suite type="TestFixture" name="DemoFunction1 - Static" executed="True" result="Failure" success="False" time="0.2635" asserts="0" description="DemoFunction1 - Static"> | |
| <results> | |
| <test-suite type="TestFixture" name="Useless test S-1-1" executed="True" result="Failure" success="False" time="0.1492" asserts="0" description="Useless test S-1-1"> | |
| <results> | |
| <test-case description="does something useful S-1-1-1" name="DemoFunction1 - Static.Useless test S-1-1.does something useful S-1-1-1" time="0.0738" asserts="0" success="False" result="Failure" executed="True"> | |
| <failure> | |
| <message>Expected {5} to be less than {3}</message> | |
| <stack-trace>at <ScriptBlock>, C:\Users\vagrant\Desktop\Format-Pester\demo\DemoFunction1.Tests.ps1: line 154 | |
| 154: DemoFunction1 -FirstParam 5 | Should BeLessThan 3</stack-trace> | |
| </failure> | |
| </test-case> | |
| <test-case description="does something useful S-1-1-2" name="DemoFunction1 - Static.Useless test S-1-1.does something useful S-1-1-2" time="0.0226" asserts="0" success="True" result="Success" executed="True" /> | |
| <test-case description="does something useful S-1-1-3" name="DemoFunction1 - Static.Useless test S-1-1.does something useful S-1-1-3" time="0.0085" asserts="0" success="True" result="Success" executed="True" /> | |
| <test-case description="doesn't do anything - is inconclusive S-1-1-4" name="DemoFunction1 - Static.Useless test S-1-1.doesn't do anything - is inconclusive S-1-1-4" time="0.0146" asserts="0" success="False" result="Inconclusive" executed="True"> | |
| <reason> | |
| <message>Inconclusive by design 1</message> | |
| </reason> | |
| </test-case> | |
| <test-case description="doesn't do anything - is inconclusive S-1-1-5" name="DemoFunction1 - Static.Useless test S-1-1.doesn't do anything - is inconclusive S-1-1-5" time="0.0172" asserts="0" success="False" result="Inconclusive" executed="True"> | |
| <reason> | |
| <message>Inconclusive by design 2</message> | |
| </reason> | |
| </test-case> | |
| <test-case description="doesn't do anything - pending - S-1-1-6" name="DemoFunction1 - Static.Useless test S-1-1.doesn't do anything - pending - S-1-1-6" time="0.0056" asserts="0" success="True" result="Inconclusive" executed="True" /> | |
| <test-case description="doesn't do anything - skipped S-1-1-7" name="DemoFunction1 - Static.Useless test S-1-1.doesn't do anything - skipped S-1-1-7" time="0.0028" asserts="0" success="True" result="Ignored" executed="False" /> | |
| <test-case description="doesn't do anything - skipped S-1-1-8" name="DemoFunction1 - Static.Useless test S-1-1.doesn't do anything - skipped S-1-1-8" time="0.0041" asserts="0" success="True" result="Ignored" executed="False" /> | |
| </results> | |
| </test-suite> | |
| <test-suite type="TestFixture" name="Useless test S-1-2" executed="True" result="Failure" success="False" time="0.1143" asserts="0" description="Useless test S-1-2"> | |
| <results> | |
| <test-case description="does something useless S-1-2-1" name="DemoFunction1 - Static.Useless test S-1-2.does something useless S-1-2-1" time="0.0408" asserts="0" success="False" result="Failure" executed="True"> | |
| <failure> | |
| <message>Expected: {5} | |
| But was: {6}</message> | |
| <stack-trace>at <ScriptBlock>, C:\Users\vagrant\Desktop\Format-Pester\demo\DemoFunction1.Tests.ps1: line 200 | |
| 200: DemoFunction1 -FirstParam 6 | Should Be 5</stack-trace> | |
| </failure> | |
| </test-case> | |
| <test-case description="does something useless S-1-2-2" name="DemoFunction1 - Static.Useless test S-1-2.does something useless S-1-2-2" time="0.0154" asserts="0" success="True" result="Success" executed="True" /> | |
| <test-case description="doesn't do anything - pending - S-1-2-3" name="DemoFunction1 - Static.Useless test S-1-2.doesn't do anything - pending - S-1-2-3" time="0.0055" asserts="0" success="True" result="Inconclusive" executed="True" /> | |
| <test-case description="does something useful S-1-2-4" name="DemoFunction1 - Static.Useless test S-1-2.does something useful S-1-2-4" time="0.0205" asserts="0" success="False" result="Failure" executed="True"> | |
| <failure> | |
| <message>Expected: value was {2}, but should not have been the same</message> | |
| <stack-trace>at <ScriptBlock>, C:\Users\vagrant\Desktop\Format-Pester\demo\DemoFunction1.Tests.ps1: line 216 | |
| 216: DemoFunction1 -FirstParam 2 | Should Not Be 2</stack-trace> | |
| </failure> | |
| </test-case> | |
| <test-case description="doesn't do nothing - is inconclusive S-1-2-5" name="DemoFunction1 - Static.Useless test S-1-2.doesn't do nothing - is inconclusive S-1-2-5" time="0.0213" asserts="0" success="False" result="Inconclusive" executed="True"> | |
| <reason> | |
| <message>Inconclusive by design 3</message> | |
| </reason> | |
| </test-case> | |
| <test-case description="doesn't do anything - skipped S-1-2-6" name="DemoFunction1 - Static.Useless test S-1-2.doesn't do anything - skipped S-1-2-6" time="0.0081" asserts="0" success="True" result="Ignored" executed="False" /> | |
| <test-case description="doesn't do anything - pending S-1-1-7" name="DemoFunction1 - Static.Useless test S-1-2.doesn't do anything - pending S-1-1-7" time="0.0028" asserts="0" success="True" result="Inconclusive" executed="True" /> | |
| </results> | |
| </test-suite> | |
| </results> | |
| </test-suite> | |
| </results> | |
| </test-suite> | |
| <test-suite type="TestFixture" name="C:\Users\vagrant\Desktop\Format-Pester\demo\DemoFunction2.Tests.ps1" executed="True" result="Failure" success="False" time="0.2928" asserts="0" description="C:\Users\vagrant\Desktop\Format-Pester\demo\DemoFunction2.Tests.ps1"> | |
| <results> | |
| <test-suite type="TestFixture" name="DemoFunction2 - Static" executed="True" result="Failure" success="False" time="0.2928" asserts="0" description="DemoFunction2 - Static"> | |
| <results> | |
| <test-suite type="TestFixture" name="Useless test S-2-1" executed="True" result="Failure" success="False" time="0.1332" asserts="0" description="Useless test S-2-1"> | |
| <results> | |
| <test-case description="does something useful S-2-1-1" name="DemoFunction2 - Static.Useless test S-2-1.does something useful S-2-1-1" time="0.063" asserts="0" success="True" result="Success" executed="True" /> | |
| <test-case description="does something useful S-2-2-2" name="DemoFunction2 - Static.Useless test S-2-1.does something useful S-2-2-2" time="0.0078" asserts="0" success="True" result="Success" executed="True" /> | |
| <test-case description="doesn't do nothing - is inconclusive S-2-2-3" name="DemoFunction2 - Static.Useless test S-2-1.doesn't do nothing - is inconclusive S-2-2-3" time="0.018" asserts="0" success="False" result="Inconclusive" executed="True"> | |
| <reason> | |
| <message>Inconclusive by design 1</message> | |
| </reason> | |
| </test-case> | |
| <test-case description="doesn't do nothing - is inconclusive S-2-2-4" name="DemoFunction2 - Static.Useless test S-2-1.doesn't do nothing - is inconclusive S-2-2-4" time="0.0163" asserts="0" success="False" result="Inconclusive" executed="True"> | |
| <reason> | |
| <message>Inconclusive by design 2</message> | |
| </reason> | |
| </test-case> | |
| <test-case description="does something useful S-2-2-5" name="DemoFunction2 - Static.Useless test S-2-1.does something useful S-2-2-5" time="0.0282" asserts="0" success="False" result="Failure" executed="True"> | |
| <failure> | |
| <message>Expected: value was {56}, but should not have been the same</message> | |
| <stack-trace>at <ScriptBlock>, C:\Users\vagrant\Desktop\Format-Pester\demo\DemoFunction2.Tests.ps1: line 124 | |
| 124: DemoFunction2 -FirstParam 56 | Should Not Be 56</stack-trace> | |
| </failure> | |
| </test-case> | |
| </results> | |
| </test-suite> | |
| <test-suite type="TestFixture" name="Useless test S-2-2" executed="True" result="Failure" success="False" time="0.1596" asserts="0" description="Useless test S-2-2"> | |
| <results> | |
| <test-case description="doesn't do nothing - is inconclusive S-2-2-1" name="DemoFunction2 - Static.Useless test S-2-2.doesn't do nothing - is inconclusive S-2-2-1" time="0.1091" asserts="0" success="False" result="Inconclusive" executed="True"> | |
| <reason> | |
| <message>Inconclusive by design 3</message> | |
| </reason> | |
| </test-case> | |
| <test-case description="does something useless S-2-2-2" name="DemoFunction2 - Static.Useless test S-2-2.does something useless S-2-2-2" time="0.013" asserts="0" success="True" result="Success" executed="True" /> | |
| <test-case description="does something useless S-2-2-3" name="DemoFunction2 - Static.Useless test S-2-2.does something useless S-2-2-3" time="0.0219" asserts="0" success="False" result="Failure" executed="True"> | |
| <failure> | |
| <message>Expected {2} to be greater than {3}</message> | |
| <stack-trace>at <ScriptBlock>, C:\Users\vagrant\Desktop\Format-Pester\demo\DemoFunction2.Tests.ps1: line 147 | |
| 147: DemoFunction2 -FirstParam 2 | Should BeGreaterThan 3</stack-trace> | |
| </failure> | |
| </test-case> | |
| <test-case description="does something useful S-2-2-4" name="DemoFunction2 - Static.Useless test S-2-2.does something useful S-2-2-4" time="0.0155" asserts="0" success="True" result="Success" executed="True" /> | |
| </results> | |
| </test-suite> | |
| </results> | |
| </test-suite> | |
| </results> | |
| </test-suite> | |
| </results> | |
| </test-suite> | |
| </test-results> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PS >Invoke-Pester -Script .\demo\ -Tag Static -PassThru | Export-Clixml -Path .\Tests-Results-PassThru-Pester-3.4.6.xml | |
| Describing DemoFunction1 - Static | |
| Context Useless test S-1-1 | |
| [-] does something useful S-1-1-1 927ms | |
| Expected {5} to be less than {3} | |
| 154: DemoFunction1 -FirstParam 5 | Should BeLessThan 3 | |
| at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 154 | |
| [+] does something useful S-1-1-2 302ms | |
| [+] does something useful S-1-1-3 58ms | |
| [?] doesn't do anything - is inconclusive S-1-1-4 80ms | |
| Inconclusive by design 1 | |
| at line: 172 in C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1 | |
| 172: Set-TestInconclusive -Message "Inconclusive by design 1" | |
| [?] doesn't do anything - is inconclusive S-1-1-5 68ms | |
| Inconclusive by design 2 | |
| at line: 178 in C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1 | |
| 178: Set-TestInconclusive -Message "Inconclusive by design 2" | |
| [?] doesn't do anything - pending - S-1-1-6 19ms | |
| [!] doesn't do anything - skipped S-1-1-7 10ms | |
| [!] doesn't do anything - skipped S-1-1-8 4ms | |
| Context Useless test S-1-2 | |
| [-] does something useless S-1-2-1 148ms | |
| Expected: {5} | |
| But was: {6} | |
| 200: DemoFunction1 -FirstParam 6 | Should Be 5 | |
| at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 200 | |
| [+] does something useless S-1-2-2 83ms | |
| [?] doesn't do anything - pending - S-1-2-3 10ms | |
| [-] does something useful S-1-2-4 64ms | |
| Expected: value was {2}, but should not have been the same | |
| 216: DemoFunction1 -FirstParam 2 | Should Not Be 2 | |
| at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 216 | |
| [?] doesn't do nothing - is inconclusive S-1-2-5 68ms | |
| Inconclusive by design 3 | |
| at line: 222 in C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1 | |
| 222: Set-TestInconclusive -Message "Inconclusive by design 3" | |
| [!] doesn't do anything - skipped S-1-2-6 15ms | |
| [?] doesn't do anything - pending S-1-1-7 40ms | |
| Describing DemoFunction2 - Static | |
| Context Useless test S-2-1 | |
| [+] does something useful S-2-1-1 248ms | |
| [+] does something useful S-2-2-2 79ms | |
| [?] doesn't do nothing - is inconclusive S-2-2-3 71ms | |
| Inconclusive by design 1 | |
| at line: 111 in C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1 | |
| 111: Set-TestInconclusive -Message "Inconclusive by design 1" | |
| [?] doesn't do nothing - is inconclusive S-2-2-4 66ms | |
| Inconclusive by design 2 | |
| at line: 117 in C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1 | |
| 117: Set-TestInconclusive -Message "Inconclusive by design 2" | |
| [-] does something useful S-2-2-5 78ms | |
| Expected: value was {56}, but should not have been the same | |
| 124: DemoFunction2 -FirstParam 56 | Should Not Be 56 | |
| at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 124 | |
| Context Useless test S-2-2 | |
| [?] doesn't do nothing - is inconclusive S-2-2-1 141ms | |
| Inconclusive by design 3 | |
| at line: 135 in C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1 | |
| 135: Set-TestInconclusive -Message "Inconclusive by design 3" | |
| [+] does something useless S-2-2-2 71ms | |
| [-] does something useless S-2-2-3 105ms | |
| Expected {2} to be greater than {3} | |
| 147: DemoFunction2 -FirstParam 2 | Should BeGreaterThan 3 | |
| at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 147 | |
| [+] does something useful S-2-2-4 70ms | |
| Tests completed in 2.84s | |
| Passed: 7, Failed: 5, Skipped: 3, Pending: 3, Inconclusive: 6 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PS >Invoke-Pester -Script .\demo\ -Tag Static -PassThru | Export-Clixml -Path .\Tests-Results-PassThru-Pester-4.1.1.xml | |
| Executing all tests in '.\demo\' with Tags Static | |
| Executing script C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1 | |
| Describing DemoFunction1 - Static | |
| Context Useless test S-1-1 | |
| [-] does something useful S-1-1-1 758ms | |
| Expected {5} to be less than {3} | |
| 154: DemoFunction1 -FirstParam 5 | Should BeLessThan 3 | |
| at Invoke-LegacyAssertion, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Should.ps1: line 190 | |
| at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 154 | |
| [+] does something useful S-1-1-2 135ms | |
| [+] does something useful S-1-1-3 99ms | |
| [?] doesn't do anything - is inconclusive S-1-1-4 59ms | |
| Inconclusive by design 1 | |
| at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 172 | |
| 172: Set-TestInconclusive -Message "Inconclusive by design 1" | |
| [?] doesn't do anything - is inconclusive S-1-1-5 62ms | |
| Inconclusive by design 2 | |
| at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 178 | |
| 178: Set-TestInconclusive -Message "Inconclusive by design 2" | |
| [?] doesn't do anything - pending - S-1-1-6 12ms | |
| [!] doesn't do anything - skipped S-1-1-7 10ms | |
| [!] doesn't do anything - skipped S-1-1-8 12ms | |
| Context Useless test S-1-2 | |
| [-] does something useless S-1-2-1 118ms | |
| Expected: {5} | |
| But was: {6} | |
| 200: DemoFunction1 -FirstParam 6 | Should Be 5 | |
| at Invoke-LegacyAssertion, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Should.ps1: line 190 | |
| at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 200 | |
| [+] does something useless S-1-2-2 34ms | |
| [?] doesn't do anything - pending - S-1-2-3 4ms | |
| [-] does something useful S-1-2-4 27ms | |
| Expected: value was {2}, but should not have been the same | |
| 216: DemoFunction1 -FirstParam 2 | Should Not Be 2 | |
| at Invoke-LegacyAssertion, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Should.ps1: line 190 | |
| at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 216 | |
| [?] doesn't do nothing - is inconclusive S-1-2-5 22ms | |
| Inconclusive by design 3 | |
| at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 222 | |
| 222: Set-TestInconclusive -Message "Inconclusive by design 3" | |
| [!] doesn't do anything - skipped S-1-2-6 17ms | |
| [?] doesn't do anything - pending S-1-1-7 8ms | |
| Executing script C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1 | |
| Describing DemoFunction2 - Static | |
| Context Useless test S-2-1 | |
| [+] does something useful S-2-1-1 222ms | |
| [+] does something useful S-2-2-2 26ms | |
| [?] doesn't do nothing - is inconclusive S-2-2-3 45ms | |
| Inconclusive by design 1 | |
| at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 111 | |
| 111: Set-TestInconclusive -Message "Inconclusive by design 1" | |
| [?] doesn't do nothing - is inconclusive S-2-2-4 36ms | |
| Inconclusive by design 2 | |
| at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 117 | |
| 117: Set-TestInconclusive -Message "Inconclusive by design 2" | |
| [-] does something useful S-2-2-5 40ms | |
| Expected: value was {56}, but should not have been the same | |
| 124: DemoFunction2 -FirstParam 56 | Should Not Be 56 | |
| at Invoke-LegacyAssertion, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Should.ps1: line 190 | |
| at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 124 | |
| Context Useless test S-2-2 | |
| [?] doesn't do nothing - is inconclusive S-2-2-1 144ms | |
| Inconclusive by design 3 | |
| at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 135 | |
| 135: Set-TestInconclusive -Message "Inconclusive by design 3" | |
| [+] does something useless S-2-2-2 30ms | |
| [-] does something useless S-2-2-3 65ms | |
| Expected {2} to be greater than {3} | |
| 147: DemoFunction2 -FirstParam 2 | Should BeGreaterThan 3 | |
| at Invoke-LegacyAssertion, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Should.ps1: line 190 | |
| at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 147 | |
| [+] does something useful S-2-2-4 58ms | |
| Tests completed in 2.05s | |
| Tests Passed: 7, Failed: 5, Skipped: 3, Pending: 3, Inconclusive: 6 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"> | |
| <Obj RefId="0"> | |
| <TN RefId="0"> | |
| <T>Selected.System.Management.Automation.PSCustomObject</T> | |
| <T>System.Management.Automation.PSCustomObject</T> | |
| <T>System.Object</T> | |
| </TN> | |
| <MS> | |
| <Obj N="TagFilter" RefId="1"> | |
| <TN RefId="1"> | |
| <T>System.String[]</T> | |
| <T>System.Array</T> | |
| <T>System.Object</T> | |
| </TN> | |
| <LST> | |
| <S>Static</S> | |
| </LST> | |
| </Obj> | |
| <Obj N="ExcludeTagFilter" RefId="2"> | |
| <TNRef RefId="1" /> | |
| <LST> | |
| <S></S> | |
| </LST> | |
| </Obj> | |
| <Nil N="TestNameFilter" /> | |
| <I32 N="TotalCount">24</I32> | |
| <I32 N="PassedCount">7</I32> | |
| <I32 N="FailedCount">5</I32> | |
| <I32 N="SkippedCount">3</I32> | |
| <I32 N="PendingCount">3</I32> | |
| <I32 N="InconclusiveCount">6</I32> | |
| <TS N="Time">PT2.8377493S</TS> | |
| <Obj N="TestResult" RefId="3"> | |
| <TN RefId="2"> | |
| <T>System.Object[]</T> | |
| <T>System.Array</T> | |
| <T>System.Object</T> | |
| </TN> | |
| <LST> | |
| <Obj RefId="4"> | |
| <TNRef RefId="0" /> | |
| <MS> | |
| <S N="Describe">DemoFunction1 - Static</S> | |
| <S N="Context">Useless test S-1-1</S> | |
| <S N="Name">does something useful S-1-1-1</S> | |
| <S N="Result">Failed</S> | |
| <B N="Passed">false</B> | |
| <TS N="Time">PT0.9272759S</TS> | |
| <S N="FailureMessage">Expected {5} to be less than {3}</S> | |
| <S N="StackTrace">at line: 154 in C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1_x000A_154: DemoFunction1 -FirstParam 5 | Should BeLessThan 3_x000D_</S> | |
| <Obj N="ErrorRecord" RefId="5"> | |
| <TN RefId="3"> | |
| <T>System.Management.Automation.ErrorRecord</T> | |
| <T>System.Object</T> | |
| </TN> | |
| <ToString>Expected {5} to be less than {3}</ToString> | |
| <MS> | |
| <Obj N="Exception" RefId="6"> | |
| <TN RefId="4"> | |
| <T>System.Exception</T> | |
| <T>System.Object</T> | |
| </TN> | |
| <ToString>System.Exception: Expected {5} to be less than {3}</ToString> | |
| <Props> | |
| <S N="Message">Expected {5} to be less than {3}</S> | |
| <Obj N="Data" RefId="7"> | |
| <TN RefId="5"> | |
| <T>System.Collections.ListDictionaryInternal</T> | |
| <T>System.Object</T> | |
| </TN> | |
| <DCT /> | |
| </Obj> | |
| <Nil N="InnerException" /> | |
| <Nil N="TargetSite" /> | |
| <Nil N="StackTrace" /> | |
| <Nil N="HelpLink" /> | |
| <Nil N="Source" /> | |
| <I32 N="HResult">-2146233088</I32> | |
| </Props> | |
| </Obj> | |
| <Obj N="TargetObject" RefId="8"> | |
| <TN RefId="6"> | |
| <T>System.Collections.Hashtable</T> | |
| <T>System.Object</T> | |
| </TN> | |
| <DCT> | |
| <En> | |
| <S N="Key">Message</S> | |
| <S N="Value">Expected {5} to be less than {3}</S> | |
| </En> | |
| <En> | |
| <S N="Key">File</S> | |
| <S N="Value">C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1</S> | |
| </En> | |
| <En> | |
| <S N="Key">LineText</S> | |
| <S N="Value"> DemoFunction1 -FirstParam 5 | Should BeLessThan 3_x000D_</S> | |
| </En> | |
| <En> | |
| <S N="Key">Line</S> | |
| <S N="Value">154</S> | |
| </En> | |
| </DCT> | |
| </Obj> | |
| <S N="FullyQualifiedErrorId">PesterAssertionFailed</S> | |
| <Obj N="InvocationInfo" RefId="9"> | |
| <TN RefId="7"> | |
| <T>System.Management.Automation.InvocationInfo</T> | |
| <T>System.Object</T> | |
| </TN> | |
| <ToString>System.Management.Automation.InvocationInfo</ToString> | |
| <Props> | |
| <Nil N="MyCommand" /> | |
| <Obj N="BoundParameters" RefId="10"> | |
| <TN RefId="8"> | |
| <T>System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]</T> | |
| <T>System.Object</T> | |
| </TN> | |
| <DCT /> | |
| </Obj> | |
| <Obj N="UnboundArguments" RefId="11"> | |
| <TN RefId="9"> | |
| <T>System.Collections.Generic.List`1[[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]</T> | |
| <T>System.Object</T> | |
| </TN> | |
| <LST /> | |
| </Obj> | |
| <I32 N="ScriptLineNumber">99</I32> | |
| <I32 N="OffsetInLine">17</I32> | |
| <I64 N="HistoryId">-1</I64> | |
| <S N="ScriptName">C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Should.ps1</S> | |
| <S N="Line"> throw ( New-ShouldErrorRecord -Message $failureMessage -File $file -Line $line -LineText $lineText)_x000D__x000A_</S> | |
| <S N="PositionMessage">At C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Should.ps1:99 char:17_x000D__x000A_+ ... throw ( New-ShouldErrorRecord -Message $failureMessage -F ..._x000D__x000A_+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</S> | |
| <S N="PSScriptRoot">C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions</S> | |
| <S N="PSCommandPath">C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Should.ps1</S> | |
| <S N="InvocationName"></S> | |
| <I32 N="PipelineLength">0</I32> | |
| <I32 N="PipelinePosition">0</I32> | |
| <B N="ExpectingInput">false</B> | |
| <Obj N="CommandOrigin" RefId="12"> | |
| <TN RefId="10"> | |
| <T>System.Management.Automation.CommandOrigin</T> | |
| <T>System.Enum</T> | |
| <T>System.ValueType</T> | |
| <T>System.Object</T> | |
| </TN> | |
| <ToString>Internal</ToString> | |
| <I32>1</I32> | |
| </Obj> | |
| <Nil N="DisplayScriptPosition" /> | |
| </Props> | |
| </Obj> | |
| <I32 N="ErrorCategory_Category">8</I32> | |
| <S N="ErrorCategory_Activity"></S> | |
| <S N="ErrorCategory_Reason">Exception</S> | |
| <S N="ErrorCategory_TargetName">System.Collections.Hashtable</S> | |
| <S N="ErrorCategory_TargetType">Hashtable</S> | |
| <S N="ErrorCategory_Message">InvalidResult: (System.Collections.Hashtable:Hashtable) [], Exception</S> | |
| <B N="SerializeExtendedInfo">false</B> | |
| <S N="ErrorDetails_ScriptStackTrace">at Should<End>, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Should.ps1: line 99_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 154_x000D__x000A_at Invoke-Test, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\It.ps1: line 255_x000D__x000A_at ItImpl, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\It.ps1: line 203_x000D__x000A_at It, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\It.ps1: line 117_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 152_x000D__x000A_at Context, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Context.ps1: line 66_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 150_x000D__x000A_at Describe, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Describe.ps1: line 103_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 148_x000D__x000A_at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Pester.psm1: line 516_x000D__x000A_at Invoke-Pester, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Pester.psm1: line 529_x000D__x000A_at <ScriptBlock>, <No file>: line 1</S> | |
| <Nil N="PSMessageDetails" /> | |
| </MS> | |
| </Obj> | |
| <S N="ParameterizedSuiteName"></S> | |
| <Obj N="Parameters" RefId="13"> | |
| <TN RefId="11"> | |
| <T>System.Collections.Specialized.OrderedDictionary</T> | |
| <T>System.Object</T> | |
| </TN> | |
| <DCT /> | |
| </Obj> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="14"> | |
| <TNRef RefId="0" /> | |
| <MS> | |
| <S N="Describe">DemoFunction1 - Static</S> | |
| <S N="Context">Useless test S-1-1</S> | |
| <S N="Name">does something useful S-1-1-2</S> | |
| <S N="Result">Passed</S> | |
| <B N="Passed">true</B> | |
| <TS N="Time">PT0.3028588S</TS> | |
| <S N="FailureMessage"></S> | |
| <S N="StackTrace"></S> | |
| <Nil N="ErrorRecord" /> | |
| <S N="ParameterizedSuiteName"></S> | |
| <Obj N="Parameters" RefId="15"> | |
| <TNRef RefId="11" /> | |
| <DCT /> | |
| </Obj> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="16"> | |
| <TNRef RefId="0" /> | |
| <MS> | |
| <S N="Describe">DemoFunction1 - Static</S> | |
| <S N="Context">Useless test S-1-1</S> | |
| <S N="Name">does something useful S-1-1-3</S> | |
| <S N="Result">Passed</S> | |
| <B N="Passed">true</B> | |
| <TS N="Time">PT0.0589046S</TS> | |
| <S N="FailureMessage"></S> | |
| <S N="StackTrace"></S> | |
| <Nil N="ErrorRecord" /> | |
| <S N="ParameterizedSuiteName"></S> | |
| <Obj N="Parameters" RefId="17"> | |
| <TNRef RefId="11" /> | |
| <DCT /> | |
| </Obj> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="18"> | |
| <TNRef RefId="0" /> | |
| <MS> | |
| <S N="Describe">DemoFunction1 - Static</S> | |
| <S N="Context">Useless test S-1-1</S> | |
| <S N="Name">doesn't do anything - is inconclusive S-1-1-4</S> | |
| <S N="Result">Inconclusive</S> | |
| <B N="Passed">false</B> | |
| <TS N="Time">PT0.080916S</TS> | |
| <S N="FailureMessage">Inconclusive by design 1</S> | |
| <S N="StackTrace">at line: 172 in C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1_x000A_172: Set-TestInconclusive -Message "Inconclusive by design 1"_x000D_</S> | |
| <Obj N="ErrorRecord" RefId="19"> | |
| <TNRef RefId="3" /> | |
| <ToString>Inconclusive by design 1</ToString> | |
| <MS> | |
| <Obj N="Exception" RefId="20"> | |
| <TNRef RefId="4" /> | |
| <ToString>System.Exception: Inconclusive by design 1</ToString> | |
| <Props> | |
| <S N="Message">Inconclusive by design 1</S> | |
| <Obj N="Data" RefId="21"> | |
| <TNRef RefId="5" /> | |
| <DCT /> | |
| </Obj> | |
| <Nil N="InnerException" /> | |
| <Nil N="TargetSite" /> | |
| <Nil N="StackTrace" /> | |
| <Nil N="HelpLink" /> | |
| <Nil N="Source" /> | |
| <I32 N="HResult">-2146233088</I32> | |
| </Props> | |
| </Obj> | |
| <Obj N="TargetObject" RefId="22"> | |
| <TNRef RefId="6" /> | |
| <DCT> | |
| <En> | |
| <S N="Key">Message</S> | |
| <S N="Value">Inconclusive by design 1</S> | |
| </En> | |
| <En> | |
| <S N="Key">File</S> | |
| <S N="Value">C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1</S> | |
| </En> | |
| <En> | |
| <S N="Key">LineText</S> | |
| <S N="Value"> Set-TestInconclusive -Message "Inconclusive by design 1"_x000D_</S> | |
| </En> | |
| <En> | |
| <S N="Key">Line</S> | |
| <S N="Value">172</S> | |
| </En> | |
| </DCT> | |
| </Obj> | |
| <S N="FullyQualifiedErrorId">PesterTestInconclusive</S> | |
| <Obj N="InvocationInfo" RefId="23"> | |
| <TNRef RefId="7" /> | |
| <ToString>System.Management.Automation.InvocationInfo</ToString> | |
| <Props> | |
| <Nil N="MyCommand" /> | |
| <Obj N="BoundParameters" RefId="24"> | |
| <TNRef RefId="8" /> | |
| <DCT /> | |
| </Obj> | |
| <Obj N="UnboundArguments" RefId="25"> | |
| <TNRef RefId="9" /> | |
| <LST /> | |
| </Obj> | |
| <I32 N="ScriptLineNumber">21</I32> | |
| <I32 N="OffsetInLine">5</I32> | |
| <I64 N="HistoryId">-1</I64> | |
| <S N="ScriptName">C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Set-TestInconclusive.ps1</S> | |
| <S N="Line"> throw ( New-InconclusiveErrorRecord -Message $Message -File $file -Line $line -LineText $lineText)_x000D__x000A_</S> | |
| <S N="PositionMessage">At C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Set-TestInconclusive.ps1:21 char:5_x000D__x000A_+ throw ( New-InconclusiveErrorRecord -Message $Message -File $file ..._x000D__x000A_+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</S> | |
| <S N="PSScriptRoot">C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions</S> | |
| <S N="PSCommandPath">C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Set-TestInconclusive.ps1</S> | |
| <S N="InvocationName"></S> | |
| <I32 N="PipelineLength">0</I32> | |
| <I32 N="PipelinePosition">0</I32> | |
| <B N="ExpectingInput">false</B> | |
| <Obj N="CommandOrigin" RefId="26"> | |
| <TNRef RefId="10" /> | |
| <ToString>Internal</ToString> | |
| <I32>1</I32> | |
| </Obj> | |
| <Nil N="DisplayScriptPosition" /> | |
| </Props> | |
| </Obj> | |
| <I32 N="ErrorCategory_Category">8</I32> | |
| <S N="ErrorCategory_Activity"></S> | |
| <S N="ErrorCategory_Reason">Exception</S> | |
| <S N="ErrorCategory_TargetName">System.Collections.Hashtable</S> | |
| <S N="ErrorCategory_TargetType">Hashtable</S> | |
| <S N="ErrorCategory_Message">InvalidResult: (System.Collections.Hashtable:Hashtable) [], Exception</S> | |
| <B N="SerializeExtendedInfo">false</B> | |
| <S N="ErrorDetails_ScriptStackTrace">at Set-TestInconclusive, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Set-TestInconclusive.ps1: line 21_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 172_x000D__x000A_at Invoke-Test, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\It.ps1: line 255_x000D__x000A_at ItImpl, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\It.ps1: line 203_x000D__x000A_at It, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\It.ps1: line 117_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 170_x000D__x000A_at Context, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Context.ps1: line 66_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 150_x000D__x000A_at Describe, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Describe.ps1: line 103_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 148_x000D__x000A_at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Pester.psm1: line 516_x000D__x000A_at Invoke-Pester, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Pester.psm1: line 529_x000D__x000A_at <ScriptBlock>, <No file>: line 1</S> | |
| <Nil N="PSMessageDetails" /> | |
| </MS> | |
| </Obj> | |
| <S N="ParameterizedSuiteName"></S> | |
| <Obj N="Parameters" RefId="27"> | |
| <TNRef RefId="11" /> | |
| <DCT /> | |
| </Obj> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="28"> | |
| <TNRef RefId="0" /> | |
| <MS> | |
| <S N="Describe">DemoFunction1 - Static</S> | |
| <S N="Context">Useless test S-1-1</S> | |
| <S N="Name">doesn't do anything - is inconclusive S-1-1-5</S> | |
| <S N="Result">Inconclusive</S> | |
| <B N="Passed">false</B> | |
| <TS N="Time">PT0.0686373S</TS> | |
| <S N="FailureMessage">Inconclusive by design 2</S> | |
| <S N="StackTrace">at line: 178 in C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1_x000A_178: Set-TestInconclusive -Message "Inconclusive by design 2"_x000D_</S> | |
| <Obj N="ErrorRecord" RefId="29"> | |
| <TNRef RefId="3" /> | |
| <ToString>Inconclusive by design 2</ToString> | |
| <MS> | |
| <Obj N="Exception" RefId="30"> | |
| <TNRef RefId="4" /> | |
| <ToString>System.Exception: Inconclusive by design 2</ToString> | |
| <Props> | |
| <S N="Message">Inconclusive by design 2</S> | |
| <Obj N="Data" RefId="31"> | |
| <TNRef RefId="5" /> | |
| <DCT /> | |
| </Obj> | |
| <Nil N="InnerException" /> | |
| <Nil N="TargetSite" /> | |
| <Nil N="StackTrace" /> | |
| <Nil N="HelpLink" /> | |
| <Nil N="Source" /> | |
| <I32 N="HResult">-2146233088</I32> | |
| </Props> | |
| </Obj> | |
| <Obj N="TargetObject" RefId="32"> | |
| <TNRef RefId="6" /> | |
| <DCT> | |
| <En> | |
| <S N="Key">Message</S> | |
| <S N="Value">Inconclusive by design 2</S> | |
| </En> | |
| <En> | |
| <S N="Key">File</S> | |
| <S N="Value">C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1</S> | |
| </En> | |
| <En> | |
| <S N="Key">LineText</S> | |
| <S N="Value"> Set-TestInconclusive -Message "Inconclusive by design 2"_x000D_</S> | |
| </En> | |
| <En> | |
| <S N="Key">Line</S> | |
| <S N="Value">178</S> | |
| </En> | |
| </DCT> | |
| </Obj> | |
| <S N="FullyQualifiedErrorId">PesterTestInconclusive</S> | |
| <Obj N="InvocationInfo" RefId="33"> | |
| <TNRef RefId="7" /> | |
| <ToString>System.Management.Automation.InvocationInfo</ToString> | |
| <Props> | |
| <Nil N="MyCommand" /> | |
| <Obj N="BoundParameters" RefId="34"> | |
| <TNRef RefId="8" /> | |
| <DCT /> | |
| </Obj> | |
| <Obj N="UnboundArguments" RefId="35"> | |
| <TNRef RefId="9" /> | |
| <LST /> | |
| </Obj> | |
| <I32 N="ScriptLineNumber">21</I32> | |
| <I32 N="OffsetInLine">5</I32> | |
| <I64 N="HistoryId">-1</I64> | |
| <S N="ScriptName">C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Set-TestInconclusive.ps1</S> | |
| <S N="Line"> throw ( New-InconclusiveErrorRecord -Message $Message -File $file -Line $line -LineText $lineText)_x000D__x000A_</S> | |
| <S N="PositionMessage">At C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Set-TestInconclusive.ps1:21 char:5_x000D__x000A_+ throw ( New-InconclusiveErrorRecord -Message $Message -File $file ..._x000D__x000A_+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</S> | |
| <S N="PSScriptRoot">C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions</S> | |
| <S N="PSCommandPath">C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Set-TestInconclusive.ps1</S> | |
| <S N="InvocationName"></S> | |
| <I32 N="PipelineLength">0</I32> | |
| <I32 N="PipelinePosition">0</I32> | |
| <B N="ExpectingInput">false</B> | |
| <Obj N="CommandOrigin" RefId="36"> | |
| <TNRef RefId="10" /> | |
| <ToString>Internal</ToString> | |
| <I32>1</I32> | |
| </Obj> | |
| <Nil N="DisplayScriptPosition" /> | |
| </Props> | |
| </Obj> | |
| <I32 N="ErrorCategory_Category">8</I32> | |
| <S N="ErrorCategory_Activity"></S> | |
| <S N="ErrorCategory_Reason">Exception</S> | |
| <S N="ErrorCategory_TargetName">System.Collections.Hashtable</S> | |
| <S N="ErrorCategory_TargetType">Hashtable</S> | |
| <S N="ErrorCategory_Message">InvalidResult: (System.Collections.Hashtable:Hashtable) [], Exception</S> | |
| <B N="SerializeExtendedInfo">false</B> | |
| <S N="ErrorDetails_ScriptStackTrace">at Set-TestInconclusive, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Set-TestInconclusive.ps1: line 21_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 178_x000D__x000A_at Invoke-Test, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\It.ps1: line 255_x000D__x000A_at ItImpl, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\It.ps1: line 203_x000D__x000A_at It, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\It.ps1: line 117_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 176_x000D__x000A_at Context, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Context.ps1: line 66_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 150_x000D__x000A_at Describe, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Describe.ps1: line 103_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 148_x000D__x000A_at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Pester.psm1: line 516_x000D__x000A_at Invoke-Pester, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Pester.psm1: line 529_x000D__x000A_at <ScriptBlock>, <No file>: line 1</S> | |
| <Nil N="PSMessageDetails" /> | |
| </MS> | |
| </Obj> | |
| <S N="ParameterizedSuiteName"></S> | |
| <Obj N="Parameters" RefId="37"> | |
| <TNRef RefId="11" /> | |
| <DCT /> | |
| </Obj> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="38"> | |
| <TNRef RefId="0" /> | |
| <MS> | |
| <S N="Describe">DemoFunction1 - Static</S> | |
| <S N="Context">Useless test S-1-1</S> | |
| <S N="Name">doesn't do anything - pending - S-1-1-6</S> | |
| <S N="Result">Pending</S> | |
| <B N="Passed">true</B> | |
| <TS N="Time">PT0.0195934S</TS> | |
| <S N="FailureMessage"></S> | |
| <S N="StackTrace"></S> | |
| <Nil N="ErrorRecord" /> | |
| <S N="ParameterizedSuiteName"></S> | |
| <Nil N="Parameters" /> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="39"> | |
| <TNRef RefId="0" /> | |
| <MS> | |
| <S N="Describe">DemoFunction1 - Static</S> | |
| <S N="Context">Useless test S-1-1</S> | |
| <S N="Name">doesn't do anything - skipped S-1-1-7</S> | |
| <S N="Result">Skipped</S> | |
| <B N="Passed">true</B> | |
| <TS N="Time">PT0.0106309S</TS> | |
| <S N="FailureMessage"></S> | |
| <S N="StackTrace"></S> | |
| <Nil N="ErrorRecord" /> | |
| <S N="ParameterizedSuiteName"></S> | |
| <Nil N="Parameters" /> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="40"> | |
| <TNRef RefId="0" /> | |
| <MS> | |
| <S N="Describe">DemoFunction1 - Static</S> | |
| <S N="Context">Useless test S-1-1</S> | |
| <S N="Name">doesn't do anything - skipped S-1-1-8</S> | |
| <S N="Result">Skipped</S> | |
| <B N="Passed">true</B> | |
| <TS N="Time">PT0.0043746S</TS> | |
| <S N="FailureMessage"></S> | |
| <S N="StackTrace"></S> | |
| <Nil N="ErrorRecord" /> | |
| <S N="ParameterizedSuiteName"></S> | |
| <Nil N="Parameters" /> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="41"> | |
| <TNRef RefId="0" /> | |
| <MS> | |
| <S N="Describe">DemoFunction1 - Static</S> | |
| <S N="Context">Useless test S-1-2</S> | |
| <S N="Name">does something useless S-1-2-1</S> | |
| <S N="Result">Failed</S> | |
| <B N="Passed">false</B> | |
| <TS N="Time">PT0.148896S</TS> | |
| <S N="FailureMessage">Expected: {5}_x000A_But was: {6}</S> | |
| <S N="StackTrace">at line: 200 in C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1_x000A_200: DemoFunction1 -FirstParam 6 | Should Be 5_x000D_</S> | |
| <Obj N="ErrorRecord" RefId="42"> | |
| <TNRef RefId="3" /> | |
| <ToString>Expected: {5}_x000A_But was: {6}</ToString> | |
| <MS> | |
| <Obj N="Exception" RefId="43"> | |
| <TNRef RefId="4" /> | |
| <ToString>System.Exception: Expected: {5}_x000A_But was: {6}</ToString> | |
| <Props> | |
| <S N="Message">Expected: {5}_x000A_But was: {6}</S> | |
| <Obj N="Data" RefId="44"> | |
| <TNRef RefId="5" /> | |
| <DCT /> | |
| </Obj> | |
| <Nil N="InnerException" /> | |
| <Nil N="TargetSite" /> | |
| <Nil N="StackTrace" /> | |
| <Nil N="HelpLink" /> | |
| <Nil N="Source" /> | |
| <I32 N="HResult">-2146233088</I32> | |
| </Props> | |
| </Obj> | |
| <Obj N="TargetObject" RefId="45"> | |
| <TNRef RefId="6" /> | |
| <DCT> | |
| <En> | |
| <S N="Key">Message</S> | |
| <S N="Value">Expected: {5}_x000A_But was: {6}</S> | |
| </En> | |
| <En> | |
| <S N="Key">File</S> | |
| <S N="Value">C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1</S> | |
| </En> | |
| <En> | |
| <S N="Key">LineText</S> | |
| <S N="Value"> DemoFunction1 -FirstParam 6 | Should Be 5_x000D_</S> | |
| </En> | |
| <En> | |
| <S N="Key">Line</S> | |
| <S N="Value">200</S> | |
| </En> | |
| </DCT> | |
| </Obj> | |
| <S N="FullyQualifiedErrorId">PesterAssertionFailed</S> | |
| <Obj N="InvocationInfo" RefId="46"> | |
| <TNRef RefId="7" /> | |
| <ToString>System.Management.Automation.InvocationInfo</ToString> | |
| <Props> | |
| <Nil N="MyCommand" /> | |
| <Obj N="BoundParameters" RefId="47"> | |
| <TNRef RefId="8" /> | |
| <DCT /> | |
| </Obj> | |
| <Obj N="UnboundArguments" RefId="48"> | |
| <TNRef RefId="9" /> | |
| <LST /> | |
| </Obj> | |
| <I32 N="ScriptLineNumber">99</I32> | |
| <I32 N="OffsetInLine">17</I32> | |
| <I64 N="HistoryId">-1</I64> | |
| <S N="ScriptName">C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Should.ps1</S> | |
| <S N="Line"> throw ( New-ShouldErrorRecord -Message $failureMessage -File $file -Line $line -LineText $lineText)_x000D__x000A_</S> | |
| <S N="PositionMessage">At C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Should.ps1:99 char:17_x000D__x000A_+ ... throw ( New-ShouldErrorRecord -Message $failureMessage -F ..._x000D__x000A_+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</S> | |
| <S N="PSScriptRoot">C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions</S> | |
| <S N="PSCommandPath">C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Should.ps1</S> | |
| <S N="InvocationName"></S> | |
| <I32 N="PipelineLength">0</I32> | |
| <I32 N="PipelinePosition">0</I32> | |
| <B N="ExpectingInput">false</B> | |
| <Obj N="CommandOrigin" RefId="49"> | |
| <TNRef RefId="10" /> | |
| <ToString>Internal</ToString> | |
| <I32>1</I32> | |
| </Obj> | |
| <Nil N="DisplayScriptPosition" /> | |
| </Props> | |
| </Obj> | |
| <I32 N="ErrorCategory_Category">8</I32> | |
| <S N="ErrorCategory_Activity"></S> | |
| <S N="ErrorCategory_Reason">Exception</S> | |
| <S N="ErrorCategory_TargetName">System.Collections.Hashtable</S> | |
| <S N="ErrorCategory_TargetType">Hashtable</S> | |
| <S N="ErrorCategory_Message">InvalidResult: (System.Collections.Hashtable:Hashtable) [], Exception</S> | |
| <B N="SerializeExtendedInfo">false</B> | |
| <S N="ErrorDetails_ScriptStackTrace">at Should<End>, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Should.ps1: line 99_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 200_x000D__x000A_at Invoke-Test, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\It.ps1: line 255_x000D__x000A_at ItImpl, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\It.ps1: line 203_x000D__x000A_at It, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\It.ps1: line 117_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 198_x000D__x000A_at Context, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Context.ps1: line 66_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 196_x000D__x000A_at Describe, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Describe.ps1: line 103_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 148_x000D__x000A_at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Pester.psm1: line 516_x000D__x000A_at Invoke-Pester, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Pester.psm1: line 529_x000D__x000A_at <ScriptBlock>, <No file>: line 1</S> | |
| <Nil N="PSMessageDetails" /> | |
| </MS> | |
| </Obj> | |
| <S N="ParameterizedSuiteName"></S> | |
| <Obj N="Parameters" RefId="50"> | |
| <TNRef RefId="11" /> | |
| <DCT /> | |
| </Obj> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="51"> | |
| <TNRef RefId="0" /> | |
| <MS> | |
| <S N="Describe">DemoFunction1 - Static</S> | |
| <S N="Context">Useless test S-1-2</S> | |
| <S N="Name">does something useless S-1-2-2</S> | |
| <S N="Result">Passed</S> | |
| <B N="Passed">true</B> | |
| <TS N="Time">PT0.0832444S</TS> | |
| <S N="FailureMessage"></S> | |
| <S N="StackTrace"></S> | |
| <Nil N="ErrorRecord" /> | |
| <S N="ParameterizedSuiteName"></S> | |
| <Obj N="Parameters" RefId="52"> | |
| <TNRef RefId="11" /> | |
| <DCT /> | |
| </Obj> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="53"> | |
| <TNRef RefId="0" /> | |
| <MS> | |
| <S N="Describe">DemoFunction1 - Static</S> | |
| <S N="Context">Useless test S-1-2</S> | |
| <S N="Name">doesn't do anything - pending - S-1-2-3</S> | |
| <S N="Result">Pending</S> | |
| <B N="Passed">true</B> | |
| <TS N="Time">PT0.0102185S</TS> | |
| <S N="FailureMessage"></S> | |
| <S N="StackTrace"></S> | |
| <Nil N="ErrorRecord" /> | |
| <S N="ParameterizedSuiteName"></S> | |
| <Nil N="Parameters" /> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="54"> | |
| <TNRef RefId="0" /> | |
| <MS> | |
| <S N="Describe">DemoFunction1 - Static</S> | |
| <S N="Context">Useless test S-1-2</S> | |
| <S N="Name">does something useful S-1-2-4</S> | |
| <S N="Result">Failed</S> | |
| <B N="Passed">false</B> | |
| <TS N="Time">PT0.0644584S</TS> | |
| <S N="FailureMessage">Expected: value was {2}, but should not have been the same</S> | |
| <S N="StackTrace">at line: 216 in C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1_x000A_216: DemoFunction1 -FirstParam 2 | Should Not Be 2_x000D_</S> | |
| <Obj N="ErrorRecord" RefId="55"> | |
| <TNRef RefId="3" /> | |
| <ToString>Expected: value was {2}, but should not have been the same</ToString> | |
| <MS> | |
| <Obj N="Exception" RefId="56"> | |
| <TNRef RefId="4" /> | |
| <ToString>System.Exception: Expected: value was {2}, but should not have been the same</ToString> | |
| <Props> | |
| <S N="Message">Expected: value was {2}, but should not have been the same</S> | |
| <Obj N="Data" RefId="57"> | |
| <TNRef RefId="5" /> | |
| <DCT /> | |
| </Obj> | |
| <Nil N="InnerException" /> | |
| <Nil N="TargetSite" /> | |
| <Nil N="StackTrace" /> | |
| <Nil N="HelpLink" /> | |
| <Nil N="Source" /> | |
| <I32 N="HResult">-2146233088</I32> | |
| </Props> | |
| </Obj> | |
| <Obj N="TargetObject" RefId="58"> | |
| <TNRef RefId="6" /> | |
| <DCT> | |
| <En> | |
| <S N="Key">Message</S> | |
| <S N="Value">Expected: value was {2}, but should not have been the same</S> | |
| </En> | |
| <En> | |
| <S N="Key">File</S> | |
| <S N="Value">C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1</S> | |
| </En> | |
| <En> | |
| <S N="Key">LineText</S> | |
| <S N="Value"> DemoFunction1 -FirstParam 2 | Should Not Be 2_x000D_</S> | |
| </En> | |
| <En> | |
| <S N="Key">Line</S> | |
| <S N="Value">216</S> | |
| </En> | |
| </DCT> | |
| </Obj> | |
| <S N="FullyQualifiedErrorId">PesterAssertionFailed</S> | |
| <Obj N="InvocationInfo" RefId="59"> | |
| <TNRef RefId="7" /> | |
| <ToString>System.Management.Automation.InvocationInfo</ToString> | |
| <Props> | |
| <Nil N="MyCommand" /> | |
| <Obj N="BoundParameters" RefId="60"> | |
| <TNRef RefId="8" /> | |
| <DCT /> | |
| </Obj> | |
| <Obj N="UnboundArguments" RefId="61"> | |
| <TNRef RefId="9" /> | |
| <LST /> | |
| </Obj> | |
| <I32 N="ScriptLineNumber">99</I32> | |
| <I32 N="OffsetInLine">17</I32> | |
| <I64 N="HistoryId">-1</I64> | |
| <S N="ScriptName">C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Should.ps1</S> | |
| <S N="Line"> throw ( New-ShouldErrorRecord -Message $failureMessage -File $file -Line $line -LineText $lineText)_x000D__x000A_</S> | |
| <S N="PositionMessage">At C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Should.ps1:99 char:17_x000D__x000A_+ ... throw ( New-ShouldErrorRecord -Message $failureMessage -F ..._x000D__x000A_+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</S> | |
| <S N="PSScriptRoot">C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions</S> | |
| <S N="PSCommandPath">C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Should.ps1</S> | |
| <S N="InvocationName"></S> | |
| <I32 N="PipelineLength">0</I32> | |
| <I32 N="PipelinePosition">0</I32> | |
| <B N="ExpectingInput">false</B> | |
| <Obj N="CommandOrigin" RefId="62"> | |
| <TNRef RefId="10" /> | |
| <ToString>Internal</ToString> | |
| <I32>1</I32> | |
| </Obj> | |
| <Nil N="DisplayScriptPosition" /> | |
| </Props> | |
| </Obj> | |
| <I32 N="ErrorCategory_Category">8</I32> | |
| <S N="ErrorCategory_Activity"></S> | |
| <S N="ErrorCategory_Reason">Exception</S> | |
| <S N="ErrorCategory_TargetName">System.Collections.Hashtable</S> | |
| <S N="ErrorCategory_TargetType">Hashtable</S> | |
| <S N="ErrorCategory_Message">InvalidResult: (System.Collections.Hashtable:Hashtable) [], Exception</S> | |
| <B N="SerializeExtendedInfo">false</B> | |
| <S N="ErrorDetails_ScriptStackTrace">at Should<End>, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Should.ps1: line 99_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 216_x000D__x000A_at Invoke-Test, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\It.ps1: line 255_x000D__x000A_at ItImpl, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\It.ps1: line 203_x000D__x000A_at It, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\It.ps1: line 117_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 214_x000D__x000A_at Context, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Context.ps1: line 66_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 196_x000D__x000A_at Describe, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Describe.ps1: line 103_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 148_x000D__x000A_at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Pester.psm1: line 516_x000D__x000A_at Invoke-Pester, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Pester.psm1: line 529_x000D__x000A_at <ScriptBlock>, <No file>: line 1</S> | |
| <Nil N="PSMessageDetails" /> | |
| </MS> | |
| </Obj> | |
| <S N="ParameterizedSuiteName"></S> | |
| <Obj N="Parameters" RefId="63"> | |
| <TNRef RefId="11" /> | |
| <DCT /> | |
| </Obj> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="64"> | |
| <TNRef RefId="0" /> | |
| <MS> | |
| <S N="Describe">DemoFunction1 - Static</S> | |
| <S N="Context">Useless test S-1-2</S> | |
| <S N="Name">doesn't do nothing - is inconclusive S-1-2-5</S> | |
| <S N="Result">Inconclusive</S> | |
| <B N="Passed">false</B> | |
| <TS N="Time">PT0.0687858S</TS> | |
| <S N="FailureMessage">Inconclusive by design 3</S> | |
| <S N="StackTrace">at line: 222 in C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1_x000A_222: Set-TestInconclusive -Message "Inconclusive by design 3"_x000D_</S> | |
| <Obj N="ErrorRecord" RefId="65"> | |
| <TNRef RefId="3" /> | |
| <ToString>Inconclusive by design 3</ToString> | |
| <MS> | |
| <Obj N="Exception" RefId="66"> | |
| <TNRef RefId="4" /> | |
| <ToString>System.Exception: Inconclusive by design 3</ToString> | |
| <Props> | |
| <S N="Message">Inconclusive by design 3</S> | |
| <Obj N="Data" RefId="67"> | |
| <TNRef RefId="5" /> | |
| <DCT /> | |
| </Obj> | |
| <Nil N="InnerException" /> | |
| <Nil N="TargetSite" /> | |
| <Nil N="StackTrace" /> | |
| <Nil N="HelpLink" /> | |
| <Nil N="Source" /> | |
| <I32 N="HResult">-2146233088</I32> | |
| </Props> | |
| </Obj> | |
| <Obj N="TargetObject" RefId="68"> | |
| <TNRef RefId="6" /> | |
| <DCT> | |
| <En> | |
| <S N="Key">Message</S> | |
| <S N="Value">Inconclusive by design 3</S> | |
| </En> | |
| <En> | |
| <S N="Key">File</S> | |
| <S N="Value">C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1</S> | |
| </En> | |
| <En> | |
| <S N="Key">LineText</S> | |
| <S N="Value"> Set-TestInconclusive -Message "Inconclusive by design 3"_x000D_</S> | |
| </En> | |
| <En> | |
| <S N="Key">Line</S> | |
| <S N="Value">222</S> | |
| </En> | |
| </DCT> | |
| </Obj> | |
| <S N="FullyQualifiedErrorId">PesterTestInconclusive</S> | |
| <Obj N="InvocationInfo" RefId="69"> | |
| <TNRef RefId="7" /> | |
| <ToString>System.Management.Automation.InvocationInfo</ToString> | |
| <Props> | |
| <Nil N="MyCommand" /> | |
| <Obj N="BoundParameters" RefId="70"> | |
| <TNRef RefId="8" /> | |
| <DCT /> | |
| </Obj> | |
| <Obj N="UnboundArguments" RefId="71"> | |
| <TNRef RefId="9" /> | |
| <LST /> | |
| </Obj> | |
| <I32 N="ScriptLineNumber">21</I32> | |
| <I32 N="OffsetInLine">5</I32> | |
| <I64 N="HistoryId">-1</I64> | |
| <S N="ScriptName">C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Set-TestInconclusive.ps1</S> | |
| <S N="Line"> throw ( New-InconclusiveErrorRecord -Message $Message -File $file -Line $line -LineText $lineText)_x000D__x000A_</S> | |
| <S N="PositionMessage">At C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Set-TestInconclusive.ps1:21 char:5_x000D__x000A_+ throw ( New-InconclusiveErrorRecord -Message $Message -File $file ..._x000D__x000A_+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</S> | |
| <S N="PSScriptRoot">C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions</S> | |
| <S N="PSCommandPath">C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Set-TestInconclusive.ps1</S> | |
| <S N="InvocationName"></S> | |
| <I32 N="PipelineLength">0</I32> | |
| <I32 N="PipelinePosition">0</I32> | |
| <B N="ExpectingInput">false</B> | |
| <Obj N="CommandOrigin" RefId="72"> | |
| <TNRef RefId="10" /> | |
| <ToString>Internal</ToString> | |
| <I32>1</I32> | |
| </Obj> | |
| <Nil N="DisplayScriptPosition" /> | |
| </Props> | |
| </Obj> | |
| <I32 N="ErrorCategory_Category">8</I32> | |
| <S N="ErrorCategory_Activity"></S> | |
| <S N="ErrorCategory_Reason">Exception</S> | |
| <S N="ErrorCategory_TargetName">System.Collections.Hashtable</S> | |
| <S N="ErrorCategory_TargetType">Hashtable</S> | |
| <S N="ErrorCategory_Message">InvalidResult: (System.Collections.Hashtable:Hashtable) [], Exception</S> | |
| <B N="SerializeExtendedInfo">false</B> | |
| <S N="ErrorDetails_ScriptStackTrace">at Set-TestInconclusive, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Set-TestInconclusive.ps1: line 21_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 222_x000D__x000A_at Invoke-Test, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\It.ps1: line 255_x000D__x000A_at ItImpl, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\It.ps1: line 203_x000D__x000A_at It, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\It.ps1: line 117_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 220_x000D__x000A_at Context, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Context.ps1: line 66_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 196_x000D__x000A_at Describe, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Describe.ps1: line 103_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 148_x000D__x000A_at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Pester.psm1: line 516_x000D__x000A_at Invoke-Pester, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Pester.psm1: line 529_x000D__x000A_at <ScriptBlock>, <No file>: line 1</S> | |
| <Nil N="PSMessageDetails" /> | |
| </MS> | |
| </Obj> | |
| <S N="ParameterizedSuiteName"></S> | |
| <Obj N="Parameters" RefId="73"> | |
| <TNRef RefId="11" /> | |
| <DCT /> | |
| </Obj> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="74"> | |
| <TNRef RefId="0" /> | |
| <MS> | |
| <S N="Describe">DemoFunction1 - Static</S> | |
| <S N="Context">Useless test S-1-2</S> | |
| <S N="Name">doesn't do anything - skipped S-1-2-6</S> | |
| <S N="Result">Skipped</S> | |
| <B N="Passed">true</B> | |
| <TS N="Time">PT0.0155206S</TS> | |
| <S N="FailureMessage"></S> | |
| <S N="StackTrace"></S> | |
| <Nil N="ErrorRecord" /> | |
| <S N="ParameterizedSuiteName"></S> | |
| <Nil N="Parameters" /> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="75"> | |
| <TNRef RefId="0" /> | |
| <MS> | |
| <S N="Describe">DemoFunction1 - Static</S> | |
| <S N="Context">Useless test S-1-2</S> | |
| <S N="Name">doesn't do anything - pending S-1-1-7</S> | |
| <S N="Result">Pending</S> | |
| <B N="Passed">true</B> | |
| <TS N="Time">PT0.040628S</TS> | |
| <S N="FailureMessage"></S> | |
| <S N="StackTrace"></S> | |
| <Nil N="ErrorRecord" /> | |
| <S N="ParameterizedSuiteName"></S> | |
| <Nil N="Parameters" /> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="76"> | |
| <TNRef RefId="0" /> | |
| <MS> | |
| <S N="Describe">DemoFunction2 - Static</S> | |
| <S N="Context">Useless test S-2-1</S> | |
| <S N="Name">does something useful S-2-1-1</S> | |
| <S N="Result">Passed</S> | |
| <B N="Passed">true</B> | |
| <TS N="Time">PT0.2482441S</TS> | |
| <S N="FailureMessage"></S> | |
| <S N="StackTrace"></S> | |
| <Nil N="ErrorRecord" /> | |
| <S N="ParameterizedSuiteName"></S> | |
| <Obj N="Parameters" RefId="77"> | |
| <TNRef RefId="11" /> | |
| <DCT /> | |
| </Obj> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="78"> | |
| <TNRef RefId="0" /> | |
| <MS> | |
| <S N="Describe">DemoFunction2 - Static</S> | |
| <S N="Context">Useless test S-2-1</S> | |
| <S N="Name">does something useful S-2-2-2</S> | |
| <S N="Result">Passed</S> | |
| <B N="Passed">true</B> | |
| <TS N="Time">PT0.0792986S</TS> | |
| <S N="FailureMessage"></S> | |
| <S N="StackTrace"></S> | |
| <Nil N="ErrorRecord" /> | |
| <S N="ParameterizedSuiteName"></S> | |
| <Obj N="Parameters" RefId="79"> | |
| <TNRef RefId="11" /> | |
| <DCT /> | |
| </Obj> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="80"> | |
| <TNRef RefId="0" /> | |
| <MS> | |
| <S N="Describe">DemoFunction2 - Static</S> | |
| <S N="Context">Useless test S-2-1</S> | |
| <S N="Name">doesn't do nothing - is inconclusive S-2-2-3</S> | |
| <S N="Result">Inconclusive</S> | |
| <B N="Passed">false</B> | |
| <TS N="Time">PT0.0716886S</TS> | |
| <S N="FailureMessage">Inconclusive by design 1</S> | |
| <S N="StackTrace">at line: 111 in C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1_x000A_111: Set-TestInconclusive -Message "Inconclusive by design 1"_x000D_</S> | |
| <Obj N="ErrorRecord" RefId="81"> | |
| <TNRef RefId="3" /> | |
| <ToString>Inconclusive by design 1</ToString> | |
| <MS> | |
| <Obj N="Exception" RefId="82"> | |
| <TNRef RefId="4" /> | |
| <ToString>System.Exception: Inconclusive by design 1</ToString> | |
| <Props> | |
| <S N="Message">Inconclusive by design 1</S> | |
| <Obj N="Data" RefId="83"> | |
| <TNRef RefId="5" /> | |
| <DCT /> | |
| </Obj> | |
| <Nil N="InnerException" /> | |
| <Nil N="TargetSite" /> | |
| <Nil N="StackTrace" /> | |
| <Nil N="HelpLink" /> | |
| <Nil N="Source" /> | |
| <I32 N="HResult">-2146233088</I32> | |
| </Props> | |
| </Obj> | |
| <Obj N="TargetObject" RefId="84"> | |
| <TNRef RefId="6" /> | |
| <DCT> | |
| <En> | |
| <S N="Key">Message</S> | |
| <S N="Value">Inconclusive by design 1</S> | |
| </En> | |
| <En> | |
| <S N="Key">File</S> | |
| <S N="Value">C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1</S> | |
| </En> | |
| <En> | |
| <S N="Key">LineText</S> | |
| <S N="Value"> Set-TestInconclusive -Message "Inconclusive by design 1"_x000D_</S> | |
| </En> | |
| <En> | |
| <S N="Key">Line</S> | |
| <S N="Value">111</S> | |
| </En> | |
| </DCT> | |
| </Obj> | |
| <S N="FullyQualifiedErrorId">PesterTestInconclusive</S> | |
| <Obj N="InvocationInfo" RefId="85"> | |
| <TNRef RefId="7" /> | |
| <ToString>System.Management.Automation.InvocationInfo</ToString> | |
| <Props> | |
| <Nil N="MyCommand" /> | |
| <Obj N="BoundParameters" RefId="86"> | |
| <TNRef RefId="8" /> | |
| <DCT /> | |
| </Obj> | |
| <Obj N="UnboundArguments" RefId="87"> | |
| <TNRef RefId="9" /> | |
| <LST /> | |
| </Obj> | |
| <I32 N="ScriptLineNumber">21</I32> | |
| <I32 N="OffsetInLine">5</I32> | |
| <I64 N="HistoryId">-1</I64> | |
| <S N="ScriptName">C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Set-TestInconclusive.ps1</S> | |
| <S N="Line"> throw ( New-InconclusiveErrorRecord -Message $Message -File $file -Line $line -LineText $lineText)_x000D__x000A_</S> | |
| <S N="PositionMessage">At C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Set-TestInconclusive.ps1:21 char:5_x000D__x000A_+ throw ( New-InconclusiveErrorRecord -Message $Message -File $file ..._x000D__x000A_+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</S> | |
| <S N="PSScriptRoot">C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions</S> | |
| <S N="PSCommandPath">C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Set-TestInconclusive.ps1</S> | |
| <S N="InvocationName"></S> | |
| <I32 N="PipelineLength">0</I32> | |
| <I32 N="PipelinePosition">0</I32> | |
| <B N="ExpectingInput">false</B> | |
| <Obj N="CommandOrigin" RefId="88"> | |
| <TNRef RefId="10" /> | |
| <ToString>Internal</ToString> | |
| <I32>1</I32> | |
| </Obj> | |
| <Nil N="DisplayScriptPosition" /> | |
| </Props> | |
| </Obj> | |
| <I32 N="ErrorCategory_Category">8</I32> | |
| <S N="ErrorCategory_Activity"></S> | |
| <S N="ErrorCategory_Reason">Exception</S> | |
| <S N="ErrorCategory_TargetName">System.Collections.Hashtable</S> | |
| <S N="ErrorCategory_TargetType">Hashtable</S> | |
| <S N="ErrorCategory_Message">InvalidResult: (System.Collections.Hashtable:Hashtable) [], Exception</S> | |
| <B N="SerializeExtendedInfo">false</B> | |
| <S N="ErrorDetails_ScriptStackTrace">at Set-TestInconclusive, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Set-TestInconclusive.ps1: line 21_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 111_x000D__x000A_at Invoke-Test, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\It.ps1: line 255_x000D__x000A_at ItImpl, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\It.ps1: line 203_x000D__x000A_at It, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\It.ps1: line 117_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 109_x000D__x000A_at Context, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Context.ps1: line 66_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 95_x000D__x000A_at Describe, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Describe.ps1: line 103_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 93_x000D__x000A_at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Pester.psm1: line 516_x000D__x000A_at Invoke-Pester, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Pester.psm1: line 529_x000D__x000A_at <ScriptBlock>, <No file>: line 1</S> | |
| <Nil N="PSMessageDetails" /> | |
| </MS> | |
| </Obj> | |
| <S N="ParameterizedSuiteName"></S> | |
| <Obj N="Parameters" RefId="89"> | |
| <TNRef RefId="11" /> | |
| <DCT /> | |
| </Obj> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="90"> | |
| <TNRef RefId="0" /> | |
| <MS> | |
| <S N="Describe">DemoFunction2 - Static</S> | |
| <S N="Context">Useless test S-2-1</S> | |
| <S N="Name">doesn't do nothing - is inconclusive S-2-2-4</S> | |
| <S N="Result">Inconclusive</S> | |
| <B N="Passed">false</B> | |
| <TS N="Time">PT0.0667445S</TS> | |
| <S N="FailureMessage">Inconclusive by design 2</S> | |
| <S N="StackTrace">at line: 117 in C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1_x000A_117: Set-TestInconclusive -Message "Inconclusive by design 2"_x000D_</S> | |
| <Obj N="ErrorRecord" RefId="91"> | |
| <TNRef RefId="3" /> | |
| <ToString>Inconclusive by design 2</ToString> | |
| <MS> | |
| <Obj N="Exception" RefId="92"> | |
| <TNRef RefId="4" /> | |
| <ToString>System.Exception: Inconclusive by design 2</ToString> | |
| <Props> | |
| <S N="Message">Inconclusive by design 2</S> | |
| <Obj N="Data" RefId="93"> | |
| <TNRef RefId="5" /> | |
| <DCT /> | |
| </Obj> | |
| <Nil N="InnerException" /> | |
| <Nil N="TargetSite" /> | |
| <Nil N="StackTrace" /> | |
| <Nil N="HelpLink" /> | |
| <Nil N="Source" /> | |
| <I32 N="HResult">-2146233088</I32> | |
| </Props> | |
| </Obj> | |
| <Obj N="TargetObject" RefId="94"> | |
| <TNRef RefId="6" /> | |
| <DCT> | |
| <En> | |
| <S N="Key">Message</S> | |
| <S N="Value">Inconclusive by design 2</S> | |
| </En> | |
| <En> | |
| <S N="Key">File</S> | |
| <S N="Value">C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1</S> | |
| </En> | |
| <En> | |
| <S N="Key">LineText</S> | |
| <S N="Value"> Set-TestInconclusive -Message "Inconclusive by design 2"_x000D_</S> | |
| </En> | |
| <En> | |
| <S N="Key">Line</S> | |
| <S N="Value">117</S> | |
| </En> | |
| </DCT> | |
| </Obj> | |
| <S N="FullyQualifiedErrorId">PesterTestInconclusive</S> | |
| <Obj N="InvocationInfo" RefId="95"> | |
| <TNRef RefId="7" /> | |
| <ToString>System.Management.Automation.InvocationInfo</ToString> | |
| <Props> | |
| <Nil N="MyCommand" /> | |
| <Obj N="BoundParameters" RefId="96"> | |
| <TNRef RefId="8" /> | |
| <DCT /> | |
| </Obj> | |
| <Obj N="UnboundArguments" RefId="97"> | |
| <TNRef RefId="9" /> | |
| <LST /> | |
| </Obj> | |
| <I32 N="ScriptLineNumber">21</I32> | |
| <I32 N="OffsetInLine">5</I32> | |
| <I64 N="HistoryId">-1</I64> | |
| <S N="ScriptName">C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Set-TestInconclusive.ps1</S> | |
| <S N="Line"> throw ( New-InconclusiveErrorRecord -Message $Message -File $file -Line $line -LineText $lineText)_x000D__x000A_</S> | |
| <S N="PositionMessage">At C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Set-TestInconclusive.ps1:21 char:5_x000D__x000A_+ throw ( New-InconclusiveErrorRecord -Message $Message -File $file ..._x000D__x000A_+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</S> | |
| <S N="PSScriptRoot">C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions</S> | |
| <S N="PSCommandPath">C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Set-TestInconclusive.ps1</S> | |
| <S N="InvocationName"></S> | |
| <I32 N="PipelineLength">0</I32> | |
| <I32 N="PipelinePosition">0</I32> | |
| <B N="ExpectingInput">false</B> | |
| <Obj N="CommandOrigin" RefId="98"> | |
| <TNRef RefId="10" /> | |
| <ToString>Internal</ToString> | |
| <I32>1</I32> | |
| </Obj> | |
| <Nil N="DisplayScriptPosition" /> | |
| </Props> | |
| </Obj> | |
| <I32 N="ErrorCategory_Category">8</I32> | |
| <S N="ErrorCategory_Activity"></S> | |
| <S N="ErrorCategory_Reason">Exception</S> | |
| <S N="ErrorCategory_TargetName">System.Collections.Hashtable</S> | |
| <S N="ErrorCategory_TargetType">Hashtable</S> | |
| <S N="ErrorCategory_Message">InvalidResult: (System.Collections.Hashtable:Hashtable) [], Exception</S> | |
| <B N="SerializeExtendedInfo">false</B> | |
| <S N="ErrorDetails_ScriptStackTrace">at Set-TestInconclusive, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Set-TestInconclusive.ps1: line 21_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 117_x000D__x000A_at Invoke-Test, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\It.ps1: line 255_x000D__x000A_at ItImpl, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\It.ps1: line 203_x000D__x000A_at It, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\It.ps1: line 117_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 115_x000D__x000A_at Context, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Context.ps1: line 66_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 95_x000D__x000A_at Describe, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Describe.ps1: line 103_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 93_x000D__x000A_at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Pester.psm1: line 516_x000D__x000A_at Invoke-Pester, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Pester.psm1: line 529_x000D__x000A_at <ScriptBlock>, <No file>: line 1</S> | |
| <Nil N="PSMessageDetails" /> | |
| </MS> | |
| </Obj> | |
| <S N="ParameterizedSuiteName"></S> | |
| <Obj N="Parameters" RefId="99"> | |
| <TNRef RefId="11" /> | |
| <DCT /> | |
| </Obj> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="100"> | |
| <TNRef RefId="0" /> | |
| <MS> | |
| <S N="Describe">DemoFunction2 - Static</S> | |
| <S N="Context">Useless test S-2-1</S> | |
| <S N="Name">does something useful S-2-2-5</S> | |
| <S N="Result">Failed</S> | |
| <B N="Passed">false</B> | |
| <TS N="Time">PT0.0781669S</TS> | |
| <S N="FailureMessage">Expected: value was {56}, but should not have been the same</S> | |
| <S N="StackTrace">at line: 124 in C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1_x000A_124: DemoFunction2 -FirstParam 56 | Should Not Be 56_x000D_</S> | |
| <Obj N="ErrorRecord" RefId="101"> | |
| <TNRef RefId="3" /> | |
| <ToString>Expected: value was {56}, but should not have been the same</ToString> | |
| <MS> | |
| <Obj N="Exception" RefId="102"> | |
| <TNRef RefId="4" /> | |
| <ToString>System.Exception: Expected: value was {56}, but should not have been the same</ToString> | |
| <Props> | |
| <S N="Message">Expected: value was {56}, but should not have been the same</S> | |
| <Obj N="Data" RefId="103"> | |
| <TNRef RefId="5" /> | |
| <DCT /> | |
| </Obj> | |
| <Nil N="InnerException" /> | |
| <Nil N="TargetSite" /> | |
| <Nil N="StackTrace" /> | |
| <Nil N="HelpLink" /> | |
| <Nil N="Source" /> | |
| <I32 N="HResult">-2146233088</I32> | |
| </Props> | |
| </Obj> | |
| <Obj N="TargetObject" RefId="104"> | |
| <TNRef RefId="6" /> | |
| <DCT> | |
| <En> | |
| <S N="Key">Message</S> | |
| <S N="Value">Expected: value was {56}, but should not have been the same</S> | |
| </En> | |
| <En> | |
| <S N="Key">File</S> | |
| <S N="Value">C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1</S> | |
| </En> | |
| <En> | |
| <S N="Key">LineText</S> | |
| <S N="Value"> DemoFunction2 -FirstParam 56 | Should Not Be 56_x000D_</S> | |
| </En> | |
| <En> | |
| <S N="Key">Line</S> | |
| <S N="Value">124</S> | |
| </En> | |
| </DCT> | |
| </Obj> | |
| <S N="FullyQualifiedErrorId">PesterAssertionFailed</S> | |
| <Obj N="InvocationInfo" RefId="105"> | |
| <TNRef RefId="7" /> | |
| <ToString>System.Management.Automation.InvocationInfo</ToString> | |
| <Props> | |
| <Nil N="MyCommand" /> | |
| <Obj N="BoundParameters" RefId="106"> | |
| <TNRef RefId="8" /> | |
| <DCT /> | |
| </Obj> | |
| <Obj N="UnboundArguments" RefId="107"> | |
| <TNRef RefId="9" /> | |
| <LST /> | |
| </Obj> | |
| <I32 N="ScriptLineNumber">99</I32> | |
| <I32 N="OffsetInLine">17</I32> | |
| <I64 N="HistoryId">-1</I64> | |
| <S N="ScriptName">C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Should.ps1</S> | |
| <S N="Line"> throw ( New-ShouldErrorRecord -Message $failureMessage -File $file -Line $line -LineText $lineText)_x000D__x000A_</S> | |
| <S N="PositionMessage">At C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Should.ps1:99 char:17_x000D__x000A_+ ... throw ( New-ShouldErrorRecord -Message $failureMessage -F ..._x000D__x000A_+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</S> | |
| <S N="PSScriptRoot">C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions</S> | |
| <S N="PSCommandPath">C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Should.ps1</S> | |
| <S N="InvocationName"></S> | |
| <I32 N="PipelineLength">0</I32> | |
| <I32 N="PipelinePosition">0</I32> | |
| <B N="ExpectingInput">false</B> | |
| <Obj N="CommandOrigin" RefId="108"> | |
| <TNRef RefId="10" /> | |
| <ToString>Internal</ToString> | |
| <I32>1</I32> | |
| </Obj> | |
| <Nil N="DisplayScriptPosition" /> | |
| </Props> | |
| </Obj> | |
| <I32 N="ErrorCategory_Category">8</I32> | |
| <S N="ErrorCategory_Activity"></S> | |
| <S N="ErrorCategory_Reason">Exception</S> | |
| <S N="ErrorCategory_TargetName">System.Collections.Hashtable</S> | |
| <S N="ErrorCategory_TargetType">Hashtable</S> | |
| <S N="ErrorCategory_Message">InvalidResult: (System.Collections.Hashtable:Hashtable) [], Exception</S> | |
| <B N="SerializeExtendedInfo">false</B> | |
| <S N="ErrorDetails_ScriptStackTrace">at Should<End>, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Should.ps1: line 99_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 124_x000D__x000A_at Invoke-Test, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\It.ps1: line 255_x000D__x000A_at ItImpl, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\It.ps1: line 203_x000D__x000A_at It, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\It.ps1: line 117_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 122_x000D__x000A_at Context, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Context.ps1: line 66_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 95_x000D__x000A_at Describe, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Describe.ps1: line 103_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 93_x000D__x000A_at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Pester.psm1: line 516_x000D__x000A_at Invoke-Pester, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Pester.psm1: line 529_x000D__x000A_at <ScriptBlock>, <No file>: line 1</S> | |
| <Nil N="PSMessageDetails" /> | |
| </MS> | |
| </Obj> | |
| <S N="ParameterizedSuiteName"></S> | |
| <Obj N="Parameters" RefId="109"> | |
| <TNRef RefId="11" /> | |
| <DCT /> | |
| </Obj> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="110"> | |
| <TNRef RefId="0" /> | |
| <MS> | |
| <S N="Describe">DemoFunction2 - Static</S> | |
| <S N="Context">Useless test S-2-2</S> | |
| <S N="Name">doesn't do nothing - is inconclusive S-2-2-1</S> | |
| <S N="Result">Inconclusive</S> | |
| <B N="Passed">false</B> | |
| <TS N="Time">PT0.1411488S</TS> | |
| <S N="FailureMessage">Inconclusive by design 3</S> | |
| <S N="StackTrace">at line: 135 in C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1_x000A_135: Set-TestInconclusive -Message "Inconclusive by design 3"_x000D_</S> | |
| <Obj N="ErrorRecord" RefId="111"> | |
| <TNRef RefId="3" /> | |
| <ToString>Inconclusive by design 3</ToString> | |
| <MS> | |
| <Obj N="Exception" RefId="112"> | |
| <TNRef RefId="4" /> | |
| <ToString>System.Exception: Inconclusive by design 3</ToString> | |
| <Props> | |
| <S N="Message">Inconclusive by design 3</S> | |
| <Obj N="Data" RefId="113"> | |
| <TNRef RefId="5" /> | |
| <DCT /> | |
| </Obj> | |
| <Nil N="InnerException" /> | |
| <Nil N="TargetSite" /> | |
| <Nil N="StackTrace" /> | |
| <Nil N="HelpLink" /> | |
| <Nil N="Source" /> | |
| <I32 N="HResult">-2146233088</I32> | |
| </Props> | |
| </Obj> | |
| <Obj N="TargetObject" RefId="114"> | |
| <TNRef RefId="6" /> | |
| <DCT> | |
| <En> | |
| <S N="Key">Message</S> | |
| <S N="Value">Inconclusive by design 3</S> | |
| </En> | |
| <En> | |
| <S N="Key">File</S> | |
| <S N="Value">C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1</S> | |
| </En> | |
| <En> | |
| <S N="Key">LineText</S> | |
| <S N="Value"> Set-TestInconclusive -Message "Inconclusive by design 3"_x000D_</S> | |
| </En> | |
| <En> | |
| <S N="Key">Line</S> | |
| <S N="Value">135</S> | |
| </En> | |
| </DCT> | |
| </Obj> | |
| <S N="FullyQualifiedErrorId">PesterTestInconclusive</S> | |
| <Obj N="InvocationInfo" RefId="115"> | |
| <TNRef RefId="7" /> | |
| <ToString>System.Management.Automation.InvocationInfo</ToString> | |
| <Props> | |
| <Nil N="MyCommand" /> | |
| <Obj N="BoundParameters" RefId="116"> | |
| <TNRef RefId="8" /> | |
| <DCT /> | |
| </Obj> | |
| <Obj N="UnboundArguments" RefId="117"> | |
| <TNRef RefId="9" /> | |
| <LST /> | |
| </Obj> | |
| <I32 N="ScriptLineNumber">21</I32> | |
| <I32 N="OffsetInLine">5</I32> | |
| <I64 N="HistoryId">-1</I64> | |
| <S N="ScriptName">C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Set-TestInconclusive.ps1</S> | |
| <S N="Line"> throw ( New-InconclusiveErrorRecord -Message $Message -File $file -Line $line -LineText $lineText)_x000D__x000A_</S> | |
| <S N="PositionMessage">At C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Set-TestInconclusive.ps1:21 char:5_x000D__x000A_+ throw ( New-InconclusiveErrorRecord -Message $Message -File $file ..._x000D__x000A_+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</S> | |
| <S N="PSScriptRoot">C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions</S> | |
| <S N="PSCommandPath">C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Set-TestInconclusive.ps1</S> | |
| <S N="InvocationName"></S> | |
| <I32 N="PipelineLength">0</I32> | |
| <I32 N="PipelinePosition">0</I32> | |
| <B N="ExpectingInput">false</B> | |
| <Obj N="CommandOrigin" RefId="118"> | |
| <TNRef RefId="10" /> | |
| <ToString>Internal</ToString> | |
| <I32>1</I32> | |
| </Obj> | |
| <Nil N="DisplayScriptPosition" /> | |
| </Props> | |
| </Obj> | |
| <I32 N="ErrorCategory_Category">8</I32> | |
| <S N="ErrorCategory_Activity"></S> | |
| <S N="ErrorCategory_Reason">Exception</S> | |
| <S N="ErrorCategory_TargetName">System.Collections.Hashtable</S> | |
| <S N="ErrorCategory_TargetType">Hashtable</S> | |
| <S N="ErrorCategory_Message">InvalidResult: (System.Collections.Hashtable:Hashtable) [], Exception</S> | |
| <B N="SerializeExtendedInfo">false</B> | |
| <S N="ErrorDetails_ScriptStackTrace">at Set-TestInconclusive, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Set-TestInconclusive.ps1: line 21_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 135_x000D__x000A_at Invoke-Test, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\It.ps1: line 255_x000D__x000A_at ItImpl, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\It.ps1: line 203_x000D__x000A_at It, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\It.ps1: line 117_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 133_x000D__x000A_at Context, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Context.ps1: line 66_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 131_x000D__x000A_at Describe, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Describe.ps1: line 103_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 93_x000D__x000A_at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Pester.psm1: line 516_x000D__x000A_at Invoke-Pester, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Pester.psm1: line 529_x000D__x000A_at <ScriptBlock>, <No file>: line 1</S> | |
| <Nil N="PSMessageDetails" /> | |
| </MS> | |
| </Obj> | |
| <S N="ParameterizedSuiteName"></S> | |
| <Obj N="Parameters" RefId="119"> | |
| <TNRef RefId="11" /> | |
| <DCT /> | |
| </Obj> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="120"> | |
| <TNRef RefId="0" /> | |
| <MS> | |
| <S N="Describe">DemoFunction2 - Static</S> | |
| <S N="Context">Useless test S-2-2</S> | |
| <S N="Name">does something useless S-2-2-2</S> | |
| <S N="Result">Passed</S> | |
| <B N="Passed">true</B> | |
| <TS N="Time">PT0.0711803S</TS> | |
| <S N="FailureMessage"></S> | |
| <S N="StackTrace"></S> | |
| <Nil N="ErrorRecord" /> | |
| <S N="ParameterizedSuiteName"></S> | |
| <Obj N="Parameters" RefId="121"> | |
| <TNRef RefId="11" /> | |
| <DCT /> | |
| </Obj> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="122"> | |
| <TNRef RefId="0" /> | |
| <MS> | |
| <S N="Describe">DemoFunction2 - Static</S> | |
| <S N="Context">Useless test S-2-2</S> | |
| <S N="Name">does something useless S-2-2-3</S> | |
| <S N="Result">Failed</S> | |
| <B N="Passed">false</B> | |
| <TS N="Time">PT0.1055676S</TS> | |
| <S N="FailureMessage">Expected {2} to be greater than {3}</S> | |
| <S N="StackTrace">at line: 147 in C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1_x000A_147: DemoFunction2 -FirstParam 2 | Should BeGreaterThan 3_x000D_</S> | |
| <Obj N="ErrorRecord" RefId="123"> | |
| <TNRef RefId="3" /> | |
| <ToString>Expected {2} to be greater than {3}</ToString> | |
| <MS> | |
| <Obj N="Exception" RefId="124"> | |
| <TNRef RefId="4" /> | |
| <ToString>System.Exception: Expected {2} to be greater than {3}</ToString> | |
| <Props> | |
| <S N="Message">Expected {2} to be greater than {3}</S> | |
| <Obj N="Data" RefId="125"> | |
| <TNRef RefId="5" /> | |
| <DCT /> | |
| </Obj> | |
| <Nil N="InnerException" /> | |
| <Nil N="TargetSite" /> | |
| <Nil N="StackTrace" /> | |
| <Nil N="HelpLink" /> | |
| <Nil N="Source" /> | |
| <I32 N="HResult">-2146233088</I32> | |
| </Props> | |
| </Obj> | |
| <Obj N="TargetObject" RefId="126"> | |
| <TNRef RefId="6" /> | |
| <DCT> | |
| <En> | |
| <S N="Key">Message</S> | |
| <S N="Value">Expected {2} to be greater than {3}</S> | |
| </En> | |
| <En> | |
| <S N="Key">File</S> | |
| <S N="Value">C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1</S> | |
| </En> | |
| <En> | |
| <S N="Key">LineText</S> | |
| <S N="Value"> DemoFunction2 -FirstParam 2 | Should BeGreaterThan 3_x000D_</S> | |
| </En> | |
| <En> | |
| <S N="Key">Line</S> | |
| <S N="Value">147</S> | |
| </En> | |
| </DCT> | |
| </Obj> | |
| <S N="FullyQualifiedErrorId">PesterAssertionFailed</S> | |
| <Obj N="InvocationInfo" RefId="127"> | |
| <TNRef RefId="7" /> | |
| <ToString>System.Management.Automation.InvocationInfo</ToString> | |
| <Props> | |
| <Nil N="MyCommand" /> | |
| <Obj N="BoundParameters" RefId="128"> | |
| <TNRef RefId="8" /> | |
| <DCT /> | |
| </Obj> | |
| <Obj N="UnboundArguments" RefId="129"> | |
| <TNRef RefId="9" /> | |
| <LST /> | |
| </Obj> | |
| <I32 N="ScriptLineNumber">99</I32> | |
| <I32 N="OffsetInLine">17</I32> | |
| <I64 N="HistoryId">-1</I64> | |
| <S N="ScriptName">C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Should.ps1</S> | |
| <S N="Line"> throw ( New-ShouldErrorRecord -Message $failureMessage -File $file -Line $line -LineText $lineText)_x000D__x000A_</S> | |
| <S N="PositionMessage">At C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Should.ps1:99 char:17_x000D__x000A_+ ... throw ( New-ShouldErrorRecord -Message $failureMessage -F ..._x000D__x000A_+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</S> | |
| <S N="PSScriptRoot">C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions</S> | |
| <S N="PSCommandPath">C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Should.ps1</S> | |
| <S N="InvocationName"></S> | |
| <I32 N="PipelineLength">0</I32> | |
| <I32 N="PipelinePosition">0</I32> | |
| <B N="ExpectingInput">false</B> | |
| <Obj N="CommandOrigin" RefId="130"> | |
| <TNRef RefId="10" /> | |
| <ToString>Internal</ToString> | |
| <I32>1</I32> | |
| </Obj> | |
| <Nil N="DisplayScriptPosition" /> | |
| </Props> | |
| </Obj> | |
| <I32 N="ErrorCategory_Category">8</I32> | |
| <S N="ErrorCategory_Activity"></S> | |
| <S N="ErrorCategory_Reason">Exception</S> | |
| <S N="ErrorCategory_TargetName">System.Collections.Hashtable</S> | |
| <S N="ErrorCategory_TargetType">Hashtable</S> | |
| <S N="ErrorCategory_Message">InvalidResult: (System.Collections.Hashtable:Hashtable) [], Exception</S> | |
| <B N="SerializeExtendedInfo">false</B> | |
| <S N="ErrorDetails_ScriptStackTrace">at Should<End>, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Assertions\Should.ps1: line 99_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 147_x000D__x000A_at Invoke-Test, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\It.ps1: line 255_x000D__x000A_at ItImpl, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\It.ps1: line 203_x000D__x000A_at It, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\It.ps1: line 117_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 145_x000D__x000A_at Context, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Context.ps1: line 66_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 131_x000D__x000A_at Describe, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Functions\Describe.ps1: line 103_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 93_x000D__x000A_at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Pester.psm1: line 516_x000D__x000A_at Invoke-Pester, C:\Program Files\WindowsPowerShell\Modules\pester\3.4.6\Pester.psm1: line 529_x000D__x000A_at <ScriptBlock>, <No file>: line 1</S> | |
| <Nil N="PSMessageDetails" /> | |
| </MS> | |
| </Obj> | |
| <S N="ParameterizedSuiteName"></S> | |
| <Obj N="Parameters" RefId="131"> | |
| <TNRef RefId="11" /> | |
| <DCT /> | |
| </Obj> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="132"> | |
| <TNRef RefId="0" /> | |
| <MS> | |
| <S N="Describe">DemoFunction2 - Static</S> | |
| <S N="Context">Useless test S-2-2</S> | |
| <S N="Name">does something useful S-2-2-4</S> | |
| <S N="Result">Passed</S> | |
| <B N="Passed">true</B> | |
| <TS N="Time">PT0.0707667S</TS> | |
| <S N="FailureMessage"></S> | |
| <S N="StackTrace"></S> | |
| <Nil N="ErrorRecord" /> | |
| <S N="ParameterizedSuiteName"></S> | |
| <Obj N="Parameters" RefId="133"> | |
| <TNRef RefId="11" /> | |
| <DCT /> | |
| </Obj> | |
| </MS> | |
| </Obj> | |
| </LST> | |
| </Obj> | |
| </MS> | |
| </Obj> | |
| </Objs> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"> | |
| <Obj RefId="0"> | |
| <TN RefId="0"> | |
| <T>Selected.System.Management.Automation.PSCustomObject</T> | |
| <T>System.Management.Automation.PSCustomObject</T> | |
| <T>System.Object</T> | |
| </TN> | |
| <MS> | |
| <Obj N="TagFilter" RefId="1"> | |
| <TN RefId="1"> | |
| <T>System.String[]</T> | |
| <T>System.Array</T> | |
| <T>System.Object</T> | |
| </TN> | |
| <LST> | |
| <S>Static</S> | |
| </LST> | |
| </Obj> | |
| <Obj N="ExcludeTagFilter" RefId="2"> | |
| <TNRef RefId="1" /> | |
| <LST> | |
| <S></S> | |
| </LST> | |
| </Obj> | |
| <Nil N="TestNameFilter" /> | |
| <I32 N="TotalCount">24</I32> | |
| <I32 N="PassedCount">7</I32> | |
| <I32 N="FailedCount">5</I32> | |
| <I32 N="SkippedCount">3</I32> | |
| <I32 N="PendingCount">3</I32> | |
| <I32 N="InconclusiveCount">6</I32> | |
| <TS N="Time">PT1.8328718S</TS> | |
| <Obj N="TestResult" RefId="3"> | |
| <TN RefId="2"> | |
| <T>System.Object[]</T> | |
| <T>System.Array</T> | |
| <T>System.Object</T> | |
| </TN> | |
| <LST> | |
| <Obj RefId="4"> | |
| <TN RefId="3"> | |
| <T>System.Management.Automation.PSCustomObject</T> | |
| <T>System.Object</T> | |
| </TN> | |
| <MS> | |
| <Obj N="ErrorRecord" RefId="5"> | |
| <TN RefId="4"> | |
| <T>System.Management.Automation.ErrorRecord</T> | |
| <T>System.Object</T> | |
| </TN> | |
| <ToString>Expected {5} to be less than {3}</ToString> | |
| <MS> | |
| <Obj N="Exception" RefId="6"> | |
| <TN RefId="5"> | |
| <T>System.Exception</T> | |
| <T>System.Object</T> | |
| </TN> | |
| <ToString>System.Exception: Expected {5} to be less than {3}</ToString> | |
| <Props> | |
| <S N="Message">Expected {5} to be less than {3}</S> | |
| <Obj N="Data" RefId="7"> | |
| <TN RefId="6"> | |
| <T>System.Collections.ListDictionaryInternal</T> | |
| <T>System.Object</T> | |
| </TN> | |
| <DCT /> | |
| </Obj> | |
| <Nil N="InnerException" /> | |
| <Nil N="TargetSite" /> | |
| <Nil N="StackTrace" /> | |
| <Nil N="HelpLink" /> | |
| <Nil N="Source" /> | |
| <I32 N="HResult">-2146233088</I32> | |
| </Props> | |
| </Obj> | |
| <Obj N="TargetObject" RefId="8"> | |
| <TN RefId="7"> | |
| <T>System.Collections.Hashtable</T> | |
| <T>System.Object</T> | |
| </TN> | |
| <DCT> | |
| <En> | |
| <S N="Key">Message</S> | |
| <S N="Value">Expected {5} to be less than {3}</S> | |
| </En> | |
| <En> | |
| <S N="Key">File</S> | |
| <S N="Value">C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1</S> | |
| </En> | |
| <En> | |
| <S N="Key">LineText</S> | |
| <S N="Value"> DemoFunction1 -FirstParam 5 | Should BeLessThan 3</S> | |
| </En> | |
| <En> | |
| <S N="Key">Line</S> | |
| <S N="Value">154</S> | |
| </En> | |
| </DCT> | |
| </Obj> | |
| <S N="FullyQualifiedErrorId">PesterAssertionFailed</S> | |
| <Obj N="InvocationInfo" RefId="9"> | |
| <TN RefId="8"> | |
| <T>System.Management.Automation.InvocationInfo</T> | |
| <T>System.Object</T> | |
| </TN> | |
| <ToString>System.Management.Automation.InvocationInfo</ToString> | |
| <Props> | |
| <Nil N="MyCommand" /> | |
| <Obj N="BoundParameters" RefId="10"> | |
| <TN RefId="9"> | |
| <T>System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]</T> | |
| <T>System.Object</T> | |
| </TN> | |
| <DCT /> | |
| </Obj> | |
| <Obj N="UnboundArguments" RefId="11"> | |
| <TN RefId="10"> | |
| <T>System.Collections.Generic.List`1[[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]</T> | |
| <T>System.Object</T> | |
| </TN> | |
| <LST /> | |
| </Obj> | |
| <I32 N="ScriptLineNumber">190</I32> | |
| <I32 N="OffsetInLine">9</I32> | |
| <I64 N="HistoryId">-1</I64> | |
| <S N="ScriptName">C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Should.ps1</S> | |
| <S N="Line"> throw ( New-ShouldErrorRecord -Message $testResult.FailureMessage -File $file -Line $lineNumber -LineText $lineText )_x000D__x000A_</S> | |
| <S N="PositionMessage">At C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Should.ps1:190 char:9_x000D__x000A_+ throw ( New-ShouldErrorRecord -Message $testResult.FailureMes ..._x000D__x000A_+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</S> | |
| <S N="PSScriptRoot">C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions</S> | |
| <S N="PSCommandPath">C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Should.ps1</S> | |
| <S N="InvocationName"></S> | |
| <I32 N="PipelineLength">0</I32> | |
| <I32 N="PipelinePosition">0</I32> | |
| <B N="ExpectingInput">false</B> | |
| <Obj N="CommandOrigin" RefId="12"> | |
| <TN RefId="11"> | |
| <T>System.Management.Automation.CommandOrigin</T> | |
| <T>System.Enum</T> | |
| <T>System.ValueType</T> | |
| <T>System.Object</T> | |
| </TN> | |
| <ToString>Internal</ToString> | |
| <I32>1</I32> | |
| </Obj> | |
| <Nil N="DisplayScriptPosition" /> | |
| </Props> | |
| </Obj> | |
| <I32 N="ErrorCategory_Category">8</I32> | |
| <S N="ErrorCategory_Activity"></S> | |
| <S N="ErrorCategory_Reason">Exception</S> | |
| <S N="ErrorCategory_TargetName">System.Collections.Hashtable</S> | |
| <S N="ErrorCategory_TargetType">Hashtable</S> | |
| <S N="ErrorCategory_Message">InvalidResult: (System.Collections.Hashtable:Hashtable) [], Exception</S> | |
| <B N="SerializeExtendedInfo">false</B> | |
| <S N="ErrorDetails_ScriptStackTrace">at Invoke-LegacyAssertion, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Should.ps1: line 190_x000D__x000A_at Should<End>, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Should.ps1: line 139_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 154_x000D__x000A_at Invoke-Test, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\It.ps1: line 259_x000D__x000A_at ItImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\It.ps1: line 207_x000D__x000A_at It, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\It.ps1: line 121_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 152_x000D__x000A_at DescribeImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Describe.ps1: line 161_x000D__x000A_at Context, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Context.ps1: line 72_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 150_x000D__x000A_at DescribeImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Describe.ps1: line 161_x000D__x000A_at Describe, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Describe.ps1: line 84_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 148_x000D__x000A_at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Pester.psm1: line 821_x000D__x000A_at Invoke-Pester<End>, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Pester.psm1: line 836_x000D__x000A_at <ScriptBlock>, <No file>: line 1</S> | |
| <Nil N="PSMessageDetails" /> | |
| </MS> | |
| </Obj> | |
| <S N="ParameterizedSuiteName"></S> | |
| <S N="Describe">DemoFunction1 - Static</S> | |
| <Obj N="Parameters" RefId="13"> | |
| <TN RefId="12"> | |
| <T>System.Collections.Specialized.OrderedDictionary</T> | |
| <T>System.Object</T> | |
| </TN> | |
| <DCT /> | |
| </Obj> | |
| <B N="Passed">false</B> | |
| <Obj N="Show" RefId="14"> | |
| <TN RefId="13"> | |
| <T>Pester.OutputTypes</T> | |
| <T>System.Enum</T> | |
| <T>System.ValueType</T> | |
| <T>System.Object</T> | |
| </TN> | |
| <ToString>All</ToString> | |
| <I32>1023</I32> | |
| </Obj> | |
| <S N="FailureMessage">Expected {5} to be less than {3}</S> | |
| <TS N="Time">PT0.5785569S</TS> | |
| <S N="Name">does something useful S-1-1-1</S> | |
| <S N="Result">Failed</S> | |
| <S N="Context">Useless test S-1-1</S> | |
| <S N="StackTrace">at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 154_x000D__x000A_154: DemoFunction1 -FirstParam 5 | Should BeLessThan 3</S> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="15"> | |
| <TNRef RefId="3" /> | |
| <MS> | |
| <Nil N="ErrorRecord" /> | |
| <S N="ParameterizedSuiteName"></S> | |
| <S N="Describe">DemoFunction1 - Static</S> | |
| <Obj N="Parameters" RefId="16"> | |
| <TNRef RefId="12" /> | |
| <DCT /> | |
| </Obj> | |
| <B N="Passed">true</B> | |
| <Ref N="Show" RefId="14" /> | |
| <S N="FailureMessage"></S> | |
| <TS N="Time">PT0.0816212S</TS> | |
| <S N="Name">does something useful S-1-1-2</S> | |
| <S N="Result">Passed</S> | |
| <S N="Context">Useless test S-1-1</S> | |
| <S N="StackTrace"></S> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="17"> | |
| <TNRef RefId="3" /> | |
| <MS> | |
| <Nil N="ErrorRecord" /> | |
| <S N="ParameterizedSuiteName"></S> | |
| <S N="Describe">DemoFunction1 - Static</S> | |
| <Obj N="Parameters" RefId="18"> | |
| <TNRef RefId="12" /> | |
| <DCT /> | |
| </Obj> | |
| <B N="Passed">true</B> | |
| <Ref N="Show" RefId="14" /> | |
| <S N="FailureMessage"></S> | |
| <TS N="Time">PT0.0862668S</TS> | |
| <S N="Name">does something useful S-1-1-3</S> | |
| <S N="Result">Passed</S> | |
| <S N="Context">Useless test S-1-1</S> | |
| <S N="StackTrace"></S> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="19"> | |
| <TNRef RefId="3" /> | |
| <MS> | |
| <Obj N="ErrorRecord" RefId="20"> | |
| <TNRef RefId="4" /> | |
| <ToString>Inconclusive by design 1</ToString> | |
| <MS> | |
| <Obj N="Exception" RefId="21"> | |
| <TNRef RefId="5" /> | |
| <ToString>System.Exception: Inconclusive by design 1</ToString> | |
| <Props> | |
| <S N="Message">Inconclusive by design 1</S> | |
| <Obj N="Data" RefId="22"> | |
| <TNRef RefId="6" /> | |
| <DCT /> | |
| </Obj> | |
| <Nil N="InnerException" /> | |
| <Nil N="TargetSite" /> | |
| <Nil N="StackTrace" /> | |
| <Nil N="HelpLink" /> | |
| <Nil N="Source" /> | |
| <I32 N="HResult">-2146233088</I32> | |
| </Props> | |
| </Obj> | |
| <Obj N="TargetObject" RefId="23"> | |
| <TNRef RefId="7" /> | |
| <DCT> | |
| <En> | |
| <S N="Key">Message</S> | |
| <S N="Value">Inconclusive by design 1</S> | |
| </En> | |
| <En> | |
| <S N="Key">File</S> | |
| <S N="Value">C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1</S> | |
| </En> | |
| <En> | |
| <S N="Key">LineText</S> | |
| <S N="Value"> Set-TestInconclusive -Message "Inconclusive by design 1"</S> | |
| </En> | |
| <En> | |
| <S N="Key">Line</S> | |
| <S N="Value">172</S> | |
| </En> | |
| </DCT> | |
| </Obj> | |
| <S N="FullyQualifiedErrorId">PesterTestInconclusive</S> | |
| <Obj N="InvocationInfo" RefId="24"> | |
| <TNRef RefId="8" /> | |
| <ToString>System.Management.Automation.InvocationInfo</ToString> | |
| <Props> | |
| <Nil N="MyCommand" /> | |
| <Obj N="BoundParameters" RefId="25"> | |
| <TNRef RefId="9" /> | |
| <DCT /> | |
| </Obj> | |
| <Obj N="UnboundArguments" RefId="26"> | |
| <TNRef RefId="10" /> | |
| <LST /> | |
| </Obj> | |
| <I32 N="ScriptLineNumber">64</I32> | |
| <I32 N="OffsetInLine">5</I32> | |
| <I64 N="HistoryId">-1</I64> | |
| <S N="ScriptName">C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Set-TestInconclusive.ps1</S> | |
| <S N="Line"> throw ( New-InconclusiveErrorRecord -Message $Message -File $file -Line $line -LineText $lineText)_x000D__x000A_</S> | |
| <S N="PositionMessage">At C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Set-TestInconclusive.ps1:64 char:5_x000D__x000A_+ throw ( New-InconclusiveErrorRecord -Message $Message -File $file ..._x000D__x000A_+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</S> | |
| <S N="PSScriptRoot">C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions</S> | |
| <S N="PSCommandPath">C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Set-TestInconclusive.ps1</S> | |
| <S N="InvocationName"></S> | |
| <I32 N="PipelineLength">0</I32> | |
| <I32 N="PipelinePosition">0</I32> | |
| <B N="ExpectingInput">false</B> | |
| <Obj N="CommandOrigin" RefId="27"> | |
| <TNRef RefId="11" /> | |
| <ToString>Internal</ToString> | |
| <I32>1</I32> | |
| </Obj> | |
| <Nil N="DisplayScriptPosition" /> | |
| </Props> | |
| </Obj> | |
| <I32 N="ErrorCategory_Category">8</I32> | |
| <S N="ErrorCategory_Activity"></S> | |
| <S N="ErrorCategory_Reason">Exception</S> | |
| <S N="ErrorCategory_TargetName">System.Collections.Hashtable</S> | |
| <S N="ErrorCategory_TargetType">Hashtable</S> | |
| <S N="ErrorCategory_Message">InvalidResult: (System.Collections.Hashtable:Hashtable) [], Exception</S> | |
| <B N="SerializeExtendedInfo">false</B> | |
| <S N="ErrorDetails_ScriptStackTrace">at Set-TestInconclusive, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Set-TestInconclusive.ps1: line 64_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 172_x000D__x000A_at Invoke-Test, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\It.ps1: line 259_x000D__x000A_at ItImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\It.ps1: line 207_x000D__x000A_at It, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\It.ps1: line 121_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 170_x000D__x000A_at DescribeImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Describe.ps1: line 161_x000D__x000A_at Context, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Context.ps1: line 72_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 150_x000D__x000A_at DescribeImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Describe.ps1: line 161_x000D__x000A_at Describe, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Describe.ps1: line 84_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 148_x000D__x000A_at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Pester.psm1: line 821_x000D__x000A_at Invoke-Pester<End>, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Pester.psm1: line 836_x000D__x000A_at <ScriptBlock>, <No file>: line 1</S> | |
| <Nil N="PSMessageDetails" /> | |
| </MS> | |
| </Obj> | |
| <S N="ParameterizedSuiteName"></S> | |
| <S N="Describe">DemoFunction1 - Static</S> | |
| <Obj N="Parameters" RefId="28"> | |
| <TNRef RefId="12" /> | |
| <DCT /> | |
| </Obj> | |
| <B N="Passed">false</B> | |
| <Ref N="Show" RefId="14" /> | |
| <S N="FailureMessage">Inconclusive by design 1</S> | |
| <TS N="Time">PT0.0511205S</TS> | |
| <S N="Name">doesn't do anything - is inconclusive S-1-1-4</S> | |
| <S N="Result">Inconclusive</S> | |
| <S N="Context">Useless test S-1-1</S> | |
| <S N="StackTrace">at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 172_x000D__x000A_172: Set-TestInconclusive -Message "Inconclusive by design 1"</S> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="29"> | |
| <TNRef RefId="3" /> | |
| <MS> | |
| <Obj N="ErrorRecord" RefId="30"> | |
| <TNRef RefId="4" /> | |
| <ToString>Inconclusive by design 2</ToString> | |
| <MS> | |
| <Obj N="Exception" RefId="31"> | |
| <TNRef RefId="5" /> | |
| <ToString>System.Exception: Inconclusive by design 2</ToString> | |
| <Props> | |
| <S N="Message">Inconclusive by design 2</S> | |
| <Obj N="Data" RefId="32"> | |
| <TNRef RefId="6" /> | |
| <DCT /> | |
| </Obj> | |
| <Nil N="InnerException" /> | |
| <Nil N="TargetSite" /> | |
| <Nil N="StackTrace" /> | |
| <Nil N="HelpLink" /> | |
| <Nil N="Source" /> | |
| <I32 N="HResult">-2146233088</I32> | |
| </Props> | |
| </Obj> | |
| <Obj N="TargetObject" RefId="33"> | |
| <TNRef RefId="7" /> | |
| <DCT> | |
| <En> | |
| <S N="Key">Message</S> | |
| <S N="Value">Inconclusive by design 2</S> | |
| </En> | |
| <En> | |
| <S N="Key">File</S> | |
| <S N="Value">C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1</S> | |
| </En> | |
| <En> | |
| <S N="Key">LineText</S> | |
| <S N="Value"> Set-TestInconclusive -Message "Inconclusive by design 2"</S> | |
| </En> | |
| <En> | |
| <S N="Key">Line</S> | |
| <S N="Value">178</S> | |
| </En> | |
| </DCT> | |
| </Obj> | |
| <S N="FullyQualifiedErrorId">PesterTestInconclusive</S> | |
| <Obj N="InvocationInfo" RefId="34"> | |
| <TNRef RefId="8" /> | |
| <ToString>System.Management.Automation.InvocationInfo</ToString> | |
| <Props> | |
| <Nil N="MyCommand" /> | |
| <Obj N="BoundParameters" RefId="35"> | |
| <TNRef RefId="9" /> | |
| <DCT /> | |
| </Obj> | |
| <Obj N="UnboundArguments" RefId="36"> | |
| <TNRef RefId="10" /> | |
| <LST /> | |
| </Obj> | |
| <I32 N="ScriptLineNumber">64</I32> | |
| <I32 N="OffsetInLine">5</I32> | |
| <I64 N="HistoryId">-1</I64> | |
| <S N="ScriptName">C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Set-TestInconclusive.ps1</S> | |
| <S N="Line"> throw ( New-InconclusiveErrorRecord -Message $Message -File $file -Line $line -LineText $lineText)_x000D__x000A_</S> | |
| <S N="PositionMessage">At C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Set-TestInconclusive.ps1:64 char:5_x000D__x000A_+ throw ( New-InconclusiveErrorRecord -Message $Message -File $file ..._x000D__x000A_+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</S> | |
| <S N="PSScriptRoot">C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions</S> | |
| <S N="PSCommandPath">C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Set-TestInconclusive.ps1</S> | |
| <S N="InvocationName"></S> | |
| <I32 N="PipelineLength">0</I32> | |
| <I32 N="PipelinePosition">0</I32> | |
| <B N="ExpectingInput">false</B> | |
| <Obj N="CommandOrigin" RefId="37"> | |
| <TNRef RefId="11" /> | |
| <ToString>Internal</ToString> | |
| <I32>1</I32> | |
| </Obj> | |
| <Nil N="DisplayScriptPosition" /> | |
| </Props> | |
| </Obj> | |
| <I32 N="ErrorCategory_Category">8</I32> | |
| <S N="ErrorCategory_Activity"></S> | |
| <S N="ErrorCategory_Reason">Exception</S> | |
| <S N="ErrorCategory_TargetName">System.Collections.Hashtable</S> | |
| <S N="ErrorCategory_TargetType">Hashtable</S> | |
| <S N="ErrorCategory_Message">InvalidResult: (System.Collections.Hashtable:Hashtable) [], Exception</S> | |
| <B N="SerializeExtendedInfo">false</B> | |
| <S N="ErrorDetails_ScriptStackTrace">at Set-TestInconclusive, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Set-TestInconclusive.ps1: line 64_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 178_x000D__x000A_at Invoke-Test, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\It.ps1: line 259_x000D__x000A_at ItImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\It.ps1: line 207_x000D__x000A_at It, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\It.ps1: line 121_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 176_x000D__x000A_at DescribeImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Describe.ps1: line 161_x000D__x000A_at Context, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Context.ps1: line 72_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 150_x000D__x000A_at DescribeImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Describe.ps1: line 161_x000D__x000A_at Describe, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Describe.ps1: line 84_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 148_x000D__x000A_at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Pester.psm1: line 821_x000D__x000A_at Invoke-Pester<End>, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Pester.psm1: line 836_x000D__x000A_at <ScriptBlock>, <No file>: line 1</S> | |
| <Nil N="PSMessageDetails" /> | |
| </MS> | |
| </Obj> | |
| <S N="ParameterizedSuiteName"></S> | |
| <S N="Describe">DemoFunction1 - Static</S> | |
| <Obj N="Parameters" RefId="38"> | |
| <TNRef RefId="12" /> | |
| <DCT /> | |
| </Obj> | |
| <B N="Passed">false</B> | |
| <Ref N="Show" RefId="14" /> | |
| <S N="FailureMessage">Inconclusive by design 2</S> | |
| <TS N="Time">PT0.0491039S</TS> | |
| <S N="Name">doesn't do anything - is inconclusive S-1-1-5</S> | |
| <S N="Result">Inconclusive</S> | |
| <S N="Context">Useless test S-1-1</S> | |
| <S N="StackTrace">at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 178_x000D__x000A_178: Set-TestInconclusive -Message "Inconclusive by design 2"</S> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="39"> | |
| <TNRef RefId="3" /> | |
| <MS> | |
| <Nil N="ErrorRecord" /> | |
| <S N="ParameterizedSuiteName"></S> | |
| <S N="Describe">DemoFunction1 - Static</S> | |
| <Nil N="Parameters" /> | |
| <B N="Passed">true</B> | |
| <Ref N="Show" RefId="14" /> | |
| <S N="FailureMessage"></S> | |
| <TS N="Time">PT0.0163181S</TS> | |
| <S N="Name">doesn't do anything - pending - S-1-1-6</S> | |
| <S N="Result">Pending</S> | |
| <S N="Context">Useless test S-1-1</S> | |
| <S N="StackTrace"></S> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="40"> | |
| <TNRef RefId="3" /> | |
| <MS> | |
| <Nil N="ErrorRecord" /> | |
| <S N="ParameterizedSuiteName"></S> | |
| <S N="Describe">DemoFunction1 - Static</S> | |
| <Nil N="Parameters" /> | |
| <B N="Passed">true</B> | |
| <Ref N="Show" RefId="14" /> | |
| <S N="FailureMessage"></S> | |
| <TS N="Time">PT0.0098961S</TS> | |
| <S N="Name">doesn't do anything - skipped S-1-1-7</S> | |
| <S N="Result">Skipped</S> | |
| <S N="Context">Useless test S-1-1</S> | |
| <S N="StackTrace"></S> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="41"> | |
| <TNRef RefId="3" /> | |
| <MS> | |
| <Nil N="ErrorRecord" /> | |
| <S N="ParameterizedSuiteName"></S> | |
| <S N="Describe">DemoFunction1 - Static</S> | |
| <Nil N="Parameters" /> | |
| <B N="Passed">true</B> | |
| <Ref N="Show" RefId="14" /> | |
| <S N="FailureMessage"></S> | |
| <TS N="Time">PT0.0066494S</TS> | |
| <S N="Name">doesn't do anything - skipped S-1-1-8</S> | |
| <S N="Result">Skipped</S> | |
| <S N="Context">Useless test S-1-1</S> | |
| <S N="StackTrace"></S> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="42"> | |
| <TNRef RefId="3" /> | |
| <MS> | |
| <Obj N="ErrorRecord" RefId="43"> | |
| <TNRef RefId="4" /> | |
| <ToString>Expected: {5}_x000A_But was: {6}</ToString> | |
| <MS> | |
| <Obj N="Exception" RefId="44"> | |
| <TNRef RefId="5" /> | |
| <ToString>System.Exception: Expected: {5}_x000A_But was: {6}</ToString> | |
| <Props> | |
| <S N="Message">Expected: {5}_x000A_But was: {6}</S> | |
| <Obj N="Data" RefId="45"> | |
| <TNRef RefId="6" /> | |
| <DCT /> | |
| </Obj> | |
| <Nil N="InnerException" /> | |
| <Nil N="TargetSite" /> | |
| <Nil N="StackTrace" /> | |
| <Nil N="HelpLink" /> | |
| <Nil N="Source" /> | |
| <I32 N="HResult">-2146233088</I32> | |
| </Props> | |
| </Obj> | |
| <Obj N="TargetObject" RefId="46"> | |
| <TNRef RefId="7" /> | |
| <DCT> | |
| <En> | |
| <S N="Key">Message</S> | |
| <S N="Value">Expected: {5}_x000A_But was: {6}</S> | |
| </En> | |
| <En> | |
| <S N="Key">File</S> | |
| <S N="Value">C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1</S> | |
| </En> | |
| <En> | |
| <S N="Key">LineText</S> | |
| <S N="Value"> DemoFunction1 -FirstParam 6 | Should Be 5</S> | |
| </En> | |
| <En> | |
| <S N="Key">Line</S> | |
| <S N="Value">200</S> | |
| </En> | |
| </DCT> | |
| </Obj> | |
| <S N="FullyQualifiedErrorId">PesterAssertionFailed</S> | |
| <Obj N="InvocationInfo" RefId="47"> | |
| <TNRef RefId="8" /> | |
| <ToString>System.Management.Automation.InvocationInfo</ToString> | |
| <Props> | |
| <Nil N="MyCommand" /> | |
| <Obj N="BoundParameters" RefId="48"> | |
| <TNRef RefId="9" /> | |
| <DCT /> | |
| </Obj> | |
| <Obj N="UnboundArguments" RefId="49"> | |
| <TNRef RefId="10" /> | |
| <LST /> | |
| </Obj> | |
| <I32 N="ScriptLineNumber">190</I32> | |
| <I32 N="OffsetInLine">9</I32> | |
| <I64 N="HistoryId">-1</I64> | |
| <S N="ScriptName">C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Should.ps1</S> | |
| <S N="Line"> throw ( New-ShouldErrorRecord -Message $testResult.FailureMessage -File $file -Line $lineNumber -LineText $lineText )_x000D__x000A_</S> | |
| <S N="PositionMessage">At C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Should.ps1:190 char:9_x000D__x000A_+ throw ( New-ShouldErrorRecord -Message $testResult.FailureMes ..._x000D__x000A_+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</S> | |
| <S N="PSScriptRoot">C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions</S> | |
| <S N="PSCommandPath">C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Should.ps1</S> | |
| <S N="InvocationName"></S> | |
| <I32 N="PipelineLength">0</I32> | |
| <I32 N="PipelinePosition">0</I32> | |
| <B N="ExpectingInput">false</B> | |
| <Obj N="CommandOrigin" RefId="50"> | |
| <TNRef RefId="11" /> | |
| <ToString>Internal</ToString> | |
| <I32>1</I32> | |
| </Obj> | |
| <Nil N="DisplayScriptPosition" /> | |
| </Props> | |
| </Obj> | |
| <I32 N="ErrorCategory_Category">8</I32> | |
| <S N="ErrorCategory_Activity"></S> | |
| <S N="ErrorCategory_Reason">Exception</S> | |
| <S N="ErrorCategory_TargetName">System.Collections.Hashtable</S> | |
| <S N="ErrorCategory_TargetType">Hashtable</S> | |
| <S N="ErrorCategory_Message">InvalidResult: (System.Collections.Hashtable:Hashtable) [], Exception</S> | |
| <B N="SerializeExtendedInfo">false</B> | |
| <S N="ErrorDetails_ScriptStackTrace">at Invoke-LegacyAssertion, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Should.ps1: line 190_x000D__x000A_at Should<End>, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Should.ps1: line 133_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 200_x000D__x000A_at Invoke-Test, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\It.ps1: line 259_x000D__x000A_at ItImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\It.ps1: line 207_x000D__x000A_at It, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\It.ps1: line 121_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 198_x000D__x000A_at DescribeImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Describe.ps1: line 161_x000D__x000A_at Context, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Context.ps1: line 72_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 196_x000D__x000A_at DescribeImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Describe.ps1: line 161_x000D__x000A_at Describe, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Describe.ps1: line 84_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 148_x000D__x000A_at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Pester.psm1: line 821_x000D__x000A_at Invoke-Pester<End>, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Pester.psm1: line 836_x000D__x000A_at <ScriptBlock>, <No file>: line 1</S> | |
| <Nil N="PSMessageDetails" /> | |
| </MS> | |
| </Obj> | |
| <S N="ParameterizedSuiteName"></S> | |
| <S N="Describe">DemoFunction1 - Static</S> | |
| <Obj N="Parameters" RefId="51"> | |
| <TNRef RefId="12" /> | |
| <DCT /> | |
| </Obj> | |
| <B N="Passed">false</B> | |
| <Ref N="Show" RefId="14" /> | |
| <S N="FailureMessage">Expected: {5}_x000A_But was: {6}</S> | |
| <TS N="Time">PT0.1522576S</TS> | |
| <S N="Name">does something useless S-1-2-1</S> | |
| <S N="Result">Failed</S> | |
| <S N="Context">Useless test S-1-2</S> | |
| <S N="StackTrace">at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 200_x000D__x000A_200: DemoFunction1 -FirstParam 6 | Should Be 5</S> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="52"> | |
| <TNRef RefId="3" /> | |
| <MS> | |
| <Nil N="ErrorRecord" /> | |
| <S N="ParameterizedSuiteName"></S> | |
| <S N="Describe">DemoFunction1 - Static</S> | |
| <Obj N="Parameters" RefId="53"> | |
| <TNRef RefId="12" /> | |
| <DCT /> | |
| </Obj> | |
| <B N="Passed">true</B> | |
| <Ref N="Show" RefId="14" /> | |
| <S N="FailureMessage"></S> | |
| <TS N="Time">PT0.0350714S</TS> | |
| <S N="Name">does something useless S-1-2-2</S> | |
| <S N="Result">Passed</S> | |
| <S N="Context">Useless test S-1-2</S> | |
| <S N="StackTrace"></S> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="54"> | |
| <TNRef RefId="3" /> | |
| <MS> | |
| <Nil N="ErrorRecord" /> | |
| <S N="ParameterizedSuiteName"></S> | |
| <S N="Describe">DemoFunction1 - Static</S> | |
| <Nil N="Parameters" /> | |
| <B N="Passed">true</B> | |
| <Ref N="Show" RefId="14" /> | |
| <S N="FailureMessage"></S> | |
| <TS N="Time">PT0.0161338S</TS> | |
| <S N="Name">doesn't do anything - pending - S-1-2-3</S> | |
| <S N="Result">Pending</S> | |
| <S N="Context">Useless test S-1-2</S> | |
| <S N="StackTrace"></S> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="55"> | |
| <TNRef RefId="3" /> | |
| <MS> | |
| <Obj N="ErrorRecord" RefId="56"> | |
| <TNRef RefId="4" /> | |
| <ToString>Expected: value was {2}, but should not have been the same</ToString> | |
| <MS> | |
| <Obj N="Exception" RefId="57"> | |
| <TNRef RefId="5" /> | |
| <ToString>System.Exception: Expected: value was {2}, but should not have been the same</ToString> | |
| <Props> | |
| <S N="Message">Expected: value was {2}, but should not have been the same</S> | |
| <Obj N="Data" RefId="58"> | |
| <TNRef RefId="6" /> | |
| <DCT /> | |
| </Obj> | |
| <Nil N="InnerException" /> | |
| <Nil N="TargetSite" /> | |
| <Nil N="StackTrace" /> | |
| <Nil N="HelpLink" /> | |
| <Nil N="Source" /> | |
| <I32 N="HResult">-2146233088</I32> | |
| </Props> | |
| </Obj> | |
| <Obj N="TargetObject" RefId="59"> | |
| <TNRef RefId="7" /> | |
| <DCT> | |
| <En> | |
| <S N="Key">Message</S> | |
| <S N="Value">Expected: value was {2}, but should not have been the same</S> | |
| </En> | |
| <En> | |
| <S N="Key">File</S> | |
| <S N="Value">C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1</S> | |
| </En> | |
| <En> | |
| <S N="Key">LineText</S> | |
| <S N="Value"> DemoFunction1 -FirstParam 2 | Should Not Be 2</S> | |
| </En> | |
| <En> | |
| <S N="Key">Line</S> | |
| <S N="Value">216</S> | |
| </En> | |
| </DCT> | |
| </Obj> | |
| <S N="FullyQualifiedErrorId">PesterAssertionFailed</S> | |
| <Obj N="InvocationInfo" RefId="60"> | |
| <TNRef RefId="8" /> | |
| <ToString>System.Management.Automation.InvocationInfo</ToString> | |
| <Props> | |
| <Nil N="MyCommand" /> | |
| <Obj N="BoundParameters" RefId="61"> | |
| <TNRef RefId="9" /> | |
| <DCT /> | |
| </Obj> | |
| <Obj N="UnboundArguments" RefId="62"> | |
| <TNRef RefId="10" /> | |
| <LST /> | |
| </Obj> | |
| <I32 N="ScriptLineNumber">190</I32> | |
| <I32 N="OffsetInLine">9</I32> | |
| <I64 N="HistoryId">-1</I64> | |
| <S N="ScriptName">C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Should.ps1</S> | |
| <S N="Line"> throw ( New-ShouldErrorRecord -Message $testResult.FailureMessage -File $file -Line $lineNumber -LineText $lineText )_x000D__x000A_</S> | |
| <S N="PositionMessage">At C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Should.ps1:190 char:9_x000D__x000A_+ throw ( New-ShouldErrorRecord -Message $testResult.FailureMes ..._x000D__x000A_+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</S> | |
| <S N="PSScriptRoot">C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions</S> | |
| <S N="PSCommandPath">C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Should.ps1</S> | |
| <S N="InvocationName"></S> | |
| <I32 N="PipelineLength">0</I32> | |
| <I32 N="PipelinePosition">0</I32> | |
| <B N="ExpectingInput">false</B> | |
| <Obj N="CommandOrigin" RefId="63"> | |
| <TNRef RefId="11" /> | |
| <ToString>Internal</ToString> | |
| <I32>1</I32> | |
| </Obj> | |
| <Nil N="DisplayScriptPosition" /> | |
| </Props> | |
| </Obj> | |
| <I32 N="ErrorCategory_Category">8</I32> | |
| <S N="ErrorCategory_Activity"></S> | |
| <S N="ErrorCategory_Reason">Exception</S> | |
| <S N="ErrorCategory_TargetName">System.Collections.Hashtable</S> | |
| <S N="ErrorCategory_TargetType">Hashtable</S> | |
| <S N="ErrorCategory_Message">InvalidResult: (System.Collections.Hashtable:Hashtable) [], Exception</S> | |
| <B N="SerializeExtendedInfo">false</B> | |
| <S N="ErrorDetails_ScriptStackTrace">at Invoke-LegacyAssertion, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Should.ps1: line 190_x000D__x000A_at Should<End>, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Should.ps1: line 133_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 216_x000D__x000A_at Invoke-Test, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\It.ps1: line 259_x000D__x000A_at ItImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\It.ps1: line 207_x000D__x000A_at It, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\It.ps1: line 121_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 214_x000D__x000A_at DescribeImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Describe.ps1: line 161_x000D__x000A_at Context, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Context.ps1: line 72_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 196_x000D__x000A_at DescribeImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Describe.ps1: line 161_x000D__x000A_at Describe, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Describe.ps1: line 84_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 148_x000D__x000A_at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Pester.psm1: line 821_x000D__x000A_at Invoke-Pester<End>, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Pester.psm1: line 836_x000D__x000A_at <ScriptBlock>, <No file>: line 1</S> | |
| <Nil N="PSMessageDetails" /> | |
| </MS> | |
| </Obj> | |
| <S N="ParameterizedSuiteName"></S> | |
| <S N="Describe">DemoFunction1 - Static</S> | |
| <Obj N="Parameters" RefId="64"> | |
| <TNRef RefId="12" /> | |
| <DCT /> | |
| </Obj> | |
| <B N="Passed">false</B> | |
| <Ref N="Show" RefId="14" /> | |
| <S N="FailureMessage">Expected: value was {2}, but should not have been the same</S> | |
| <TS N="Time">PT0.036865S</TS> | |
| <S N="Name">does something useful S-1-2-4</S> | |
| <S N="Result">Failed</S> | |
| <S N="Context">Useless test S-1-2</S> | |
| <S N="StackTrace">at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 216_x000D__x000A_216: DemoFunction1 -FirstParam 2 | Should Not Be 2</S> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="65"> | |
| <TNRef RefId="3" /> | |
| <MS> | |
| <Obj N="ErrorRecord" RefId="66"> | |
| <TNRef RefId="4" /> | |
| <ToString>Inconclusive by design 3</ToString> | |
| <MS> | |
| <Obj N="Exception" RefId="67"> | |
| <TNRef RefId="5" /> | |
| <ToString>System.Exception: Inconclusive by design 3</ToString> | |
| <Props> | |
| <S N="Message">Inconclusive by design 3</S> | |
| <Obj N="Data" RefId="68"> | |
| <TNRef RefId="6" /> | |
| <DCT /> | |
| </Obj> | |
| <Nil N="InnerException" /> | |
| <Nil N="TargetSite" /> | |
| <Nil N="StackTrace" /> | |
| <Nil N="HelpLink" /> | |
| <Nil N="Source" /> | |
| <I32 N="HResult">-2146233088</I32> | |
| </Props> | |
| </Obj> | |
| <Obj N="TargetObject" RefId="69"> | |
| <TNRef RefId="7" /> | |
| <DCT> | |
| <En> | |
| <S N="Key">Message</S> | |
| <S N="Value">Inconclusive by design 3</S> | |
| </En> | |
| <En> | |
| <S N="Key">File</S> | |
| <S N="Value">C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1</S> | |
| </En> | |
| <En> | |
| <S N="Key">LineText</S> | |
| <S N="Value"> Set-TestInconclusive -Message "Inconclusive by design 3"</S> | |
| </En> | |
| <En> | |
| <S N="Key">Line</S> | |
| <S N="Value">222</S> | |
| </En> | |
| </DCT> | |
| </Obj> | |
| <S N="FullyQualifiedErrorId">PesterTestInconclusive</S> | |
| <Obj N="InvocationInfo" RefId="70"> | |
| <TNRef RefId="8" /> | |
| <ToString>System.Management.Automation.InvocationInfo</ToString> | |
| <Props> | |
| <Nil N="MyCommand" /> | |
| <Obj N="BoundParameters" RefId="71"> | |
| <TNRef RefId="9" /> | |
| <DCT /> | |
| </Obj> | |
| <Obj N="UnboundArguments" RefId="72"> | |
| <TNRef RefId="10" /> | |
| <LST /> | |
| </Obj> | |
| <I32 N="ScriptLineNumber">64</I32> | |
| <I32 N="OffsetInLine">5</I32> | |
| <I64 N="HistoryId">-1</I64> | |
| <S N="ScriptName">C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Set-TestInconclusive.ps1</S> | |
| <S N="Line"> throw ( New-InconclusiveErrorRecord -Message $Message -File $file -Line $line -LineText $lineText)_x000D__x000A_</S> | |
| <S N="PositionMessage">At C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Set-TestInconclusive.ps1:64 char:5_x000D__x000A_+ throw ( New-InconclusiveErrorRecord -Message $Message -File $file ..._x000D__x000A_+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</S> | |
| <S N="PSScriptRoot">C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions</S> | |
| <S N="PSCommandPath">C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Set-TestInconclusive.ps1</S> | |
| <S N="InvocationName"></S> | |
| <I32 N="PipelineLength">0</I32> | |
| <I32 N="PipelinePosition">0</I32> | |
| <B N="ExpectingInput">false</B> | |
| <Obj N="CommandOrigin" RefId="73"> | |
| <TNRef RefId="11" /> | |
| <ToString>Internal</ToString> | |
| <I32>1</I32> | |
| </Obj> | |
| <Nil N="DisplayScriptPosition" /> | |
| </Props> | |
| </Obj> | |
| <I32 N="ErrorCategory_Category">8</I32> | |
| <S N="ErrorCategory_Activity"></S> | |
| <S N="ErrorCategory_Reason">Exception</S> | |
| <S N="ErrorCategory_TargetName">System.Collections.Hashtable</S> | |
| <S N="ErrorCategory_TargetType">Hashtable</S> | |
| <S N="ErrorCategory_Message">InvalidResult: (System.Collections.Hashtable:Hashtable) [], Exception</S> | |
| <B N="SerializeExtendedInfo">false</B> | |
| <S N="ErrorDetails_ScriptStackTrace">at Set-TestInconclusive, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Set-TestInconclusive.ps1: line 64_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 222_x000D__x000A_at Invoke-Test, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\It.ps1: line 259_x000D__x000A_at ItImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\It.ps1: line 207_x000D__x000A_at It, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\It.ps1: line 121_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 220_x000D__x000A_at DescribeImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Describe.ps1: line 161_x000D__x000A_at Context, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Context.ps1: line 72_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 196_x000D__x000A_at DescribeImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Describe.ps1: line 161_x000D__x000A_at Describe, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Describe.ps1: line 84_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 148_x000D__x000A_at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Pester.psm1: line 821_x000D__x000A_at Invoke-Pester<End>, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Pester.psm1: line 836_x000D__x000A_at <ScriptBlock>, <No file>: line 1</S> | |
| <Nil N="PSMessageDetails" /> | |
| </MS> | |
| </Obj> | |
| <S N="ParameterizedSuiteName"></S> | |
| <S N="Describe">DemoFunction1 - Static</S> | |
| <Obj N="Parameters" RefId="74"> | |
| <TNRef RefId="12" /> | |
| <DCT /> | |
| </Obj> | |
| <B N="Passed">false</B> | |
| <Ref N="Show" RefId="14" /> | |
| <S N="FailureMessage">Inconclusive by design 3</S> | |
| <TS N="Time">PT0.0439994S</TS> | |
| <S N="Name">doesn't do nothing - is inconclusive S-1-2-5</S> | |
| <S N="Result">Inconclusive</S> | |
| <S N="Context">Useless test S-1-2</S> | |
| <S N="StackTrace">at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction1.Tests.ps1: line 222_x000D__x000A_222: Set-TestInconclusive -Message "Inconclusive by design 3"</S> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="75"> | |
| <TNRef RefId="3" /> | |
| <MS> | |
| <Nil N="ErrorRecord" /> | |
| <S N="ParameterizedSuiteName"></S> | |
| <S N="Describe">DemoFunction1 - Static</S> | |
| <Nil N="Parameters" /> | |
| <B N="Passed">true</B> | |
| <Ref N="Show" RefId="14" /> | |
| <S N="FailureMessage"></S> | |
| <TS N="Time">PT0.0149778S</TS> | |
| <S N="Name">doesn't do anything - skipped S-1-2-6</S> | |
| <S N="Result">Skipped</S> | |
| <S N="Context">Useless test S-1-2</S> | |
| <S N="StackTrace"></S> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="76"> | |
| <TNRef RefId="3" /> | |
| <MS> | |
| <Nil N="ErrorRecord" /> | |
| <S N="ParameterizedSuiteName"></S> | |
| <S N="Describe">DemoFunction1 - Static</S> | |
| <Nil N="Parameters" /> | |
| <B N="Passed">true</B> | |
| <Ref N="Show" RefId="14" /> | |
| <S N="FailureMessage"></S> | |
| <TS N="Time">PT0.0079266S</TS> | |
| <S N="Name">doesn't do anything - pending S-1-1-7</S> | |
| <S N="Result">Pending</S> | |
| <S N="Context">Useless test S-1-2</S> | |
| <S N="StackTrace"></S> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="77"> | |
| <TNRef RefId="3" /> | |
| <MS> | |
| <Nil N="ErrorRecord" /> | |
| <S N="ParameterizedSuiteName"></S> | |
| <S N="Describe">DemoFunction2 - Static</S> | |
| <Obj N="Parameters" RefId="78"> | |
| <TNRef RefId="12" /> | |
| <DCT /> | |
| </Obj> | |
| <B N="Passed">true</B> | |
| <Ref N="Show" RefId="14" /> | |
| <S N="FailureMessage"></S> | |
| <TS N="Time">PT0.2027854S</TS> | |
| <S N="Name">does something useful S-2-1-1</S> | |
| <S N="Result">Passed</S> | |
| <S N="Context">Useless test S-2-1</S> | |
| <S N="StackTrace"></S> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="79"> | |
| <TNRef RefId="3" /> | |
| <MS> | |
| <Nil N="ErrorRecord" /> | |
| <S N="ParameterizedSuiteName"></S> | |
| <S N="Describe">DemoFunction2 - Static</S> | |
| <Obj N="Parameters" RefId="80"> | |
| <TNRef RefId="12" /> | |
| <DCT /> | |
| </Obj> | |
| <B N="Passed">true</B> | |
| <Ref N="Show" RefId="14" /> | |
| <S N="FailureMessage"></S> | |
| <TS N="Time">PT0.0194414S</TS> | |
| <S N="Name">does something useful S-2-2-2</S> | |
| <S N="Result">Passed</S> | |
| <S N="Context">Useless test S-2-1</S> | |
| <S N="StackTrace"></S> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="81"> | |
| <TNRef RefId="3" /> | |
| <MS> | |
| <Obj N="ErrorRecord" RefId="82"> | |
| <TNRef RefId="4" /> | |
| <ToString>Inconclusive by design 1</ToString> | |
| <MS> | |
| <Obj N="Exception" RefId="83"> | |
| <TNRef RefId="5" /> | |
| <ToString>System.Exception: Inconclusive by design 1</ToString> | |
| <Props> | |
| <S N="Message">Inconclusive by design 1</S> | |
| <Obj N="Data" RefId="84"> | |
| <TNRef RefId="6" /> | |
| <DCT /> | |
| </Obj> | |
| <Nil N="InnerException" /> | |
| <Nil N="TargetSite" /> | |
| <Nil N="StackTrace" /> | |
| <Nil N="HelpLink" /> | |
| <Nil N="Source" /> | |
| <I32 N="HResult">-2146233088</I32> | |
| </Props> | |
| </Obj> | |
| <Obj N="TargetObject" RefId="85"> | |
| <TNRef RefId="7" /> | |
| <DCT> | |
| <En> | |
| <S N="Key">Message</S> | |
| <S N="Value">Inconclusive by design 1</S> | |
| </En> | |
| <En> | |
| <S N="Key">File</S> | |
| <S N="Value">C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1</S> | |
| </En> | |
| <En> | |
| <S N="Key">LineText</S> | |
| <S N="Value"> Set-TestInconclusive -Message "Inconclusive by design 1"</S> | |
| </En> | |
| <En> | |
| <S N="Key">Line</S> | |
| <S N="Value">111</S> | |
| </En> | |
| </DCT> | |
| </Obj> | |
| <S N="FullyQualifiedErrorId">PesterTestInconclusive</S> | |
| <Obj N="InvocationInfo" RefId="86"> | |
| <TNRef RefId="8" /> | |
| <ToString>System.Management.Automation.InvocationInfo</ToString> | |
| <Props> | |
| <Nil N="MyCommand" /> | |
| <Obj N="BoundParameters" RefId="87"> | |
| <TNRef RefId="9" /> | |
| <DCT /> | |
| </Obj> | |
| <Obj N="UnboundArguments" RefId="88"> | |
| <TNRef RefId="10" /> | |
| <LST /> | |
| </Obj> | |
| <I32 N="ScriptLineNumber">64</I32> | |
| <I32 N="OffsetInLine">5</I32> | |
| <I64 N="HistoryId">-1</I64> | |
| <S N="ScriptName">C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Set-TestInconclusive.ps1</S> | |
| <S N="Line"> throw ( New-InconclusiveErrorRecord -Message $Message -File $file -Line $line -LineText $lineText)_x000D__x000A_</S> | |
| <S N="PositionMessage">At C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Set-TestInconclusive.ps1:64 char:5_x000D__x000A_+ throw ( New-InconclusiveErrorRecord -Message $Message -File $file ..._x000D__x000A_+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</S> | |
| <S N="PSScriptRoot">C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions</S> | |
| <S N="PSCommandPath">C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Set-TestInconclusive.ps1</S> | |
| <S N="InvocationName"></S> | |
| <I32 N="PipelineLength">0</I32> | |
| <I32 N="PipelinePosition">0</I32> | |
| <B N="ExpectingInput">false</B> | |
| <Obj N="CommandOrigin" RefId="89"> | |
| <TNRef RefId="11" /> | |
| <ToString>Internal</ToString> | |
| <I32>1</I32> | |
| </Obj> | |
| <Nil N="DisplayScriptPosition" /> | |
| </Props> | |
| </Obj> | |
| <I32 N="ErrorCategory_Category">8</I32> | |
| <S N="ErrorCategory_Activity"></S> | |
| <S N="ErrorCategory_Reason">Exception</S> | |
| <S N="ErrorCategory_TargetName">System.Collections.Hashtable</S> | |
| <S N="ErrorCategory_TargetType">Hashtable</S> | |
| <S N="ErrorCategory_Message">InvalidResult: (System.Collections.Hashtable:Hashtable) [], Exception</S> | |
| <B N="SerializeExtendedInfo">false</B> | |
| <S N="ErrorDetails_ScriptStackTrace">at Set-TestInconclusive, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Set-TestInconclusive.ps1: line 64_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 111_x000D__x000A_at Invoke-Test, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\It.ps1: line 259_x000D__x000A_at ItImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\It.ps1: line 207_x000D__x000A_at It, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\It.ps1: line 121_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 109_x000D__x000A_at DescribeImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Describe.ps1: line 161_x000D__x000A_at Context, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Context.ps1: line 72_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 95_x000D__x000A_at DescribeImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Describe.ps1: line 161_x000D__x000A_at Describe, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Describe.ps1: line 84_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 93_x000D__x000A_at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Pester.psm1: line 821_x000D__x000A_at Invoke-Pester<End>, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Pester.psm1: line 836_x000D__x000A_at <ScriptBlock>, <No file>: line 1</S> | |
| <Nil N="PSMessageDetails" /> | |
| </MS> | |
| </Obj> | |
| <S N="ParameterizedSuiteName"></S> | |
| <S N="Describe">DemoFunction2 - Static</S> | |
| <Obj N="Parameters" RefId="90"> | |
| <TNRef RefId="12" /> | |
| <DCT /> | |
| </Obj> | |
| <B N="Passed">false</B> | |
| <Ref N="Show" RefId="14" /> | |
| <S N="FailureMessage">Inconclusive by design 1</S> | |
| <TS N="Time">PT0.024068S</TS> | |
| <S N="Name">doesn't do nothing - is inconclusive S-2-2-3</S> | |
| <S N="Result">Inconclusive</S> | |
| <S N="Context">Useless test S-2-1</S> | |
| <S N="StackTrace">at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 111_x000D__x000A_111: Set-TestInconclusive -Message "Inconclusive by design 1"</S> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="91"> | |
| <TNRef RefId="3" /> | |
| <MS> | |
| <Obj N="ErrorRecord" RefId="92"> | |
| <TNRef RefId="4" /> | |
| <ToString>Inconclusive by design 2</ToString> | |
| <MS> | |
| <Obj N="Exception" RefId="93"> | |
| <TNRef RefId="5" /> | |
| <ToString>System.Exception: Inconclusive by design 2</ToString> | |
| <Props> | |
| <S N="Message">Inconclusive by design 2</S> | |
| <Obj N="Data" RefId="94"> | |
| <TNRef RefId="6" /> | |
| <DCT /> | |
| </Obj> | |
| <Nil N="InnerException" /> | |
| <Nil N="TargetSite" /> | |
| <Nil N="StackTrace" /> | |
| <Nil N="HelpLink" /> | |
| <Nil N="Source" /> | |
| <I32 N="HResult">-2146233088</I32> | |
| </Props> | |
| </Obj> | |
| <Obj N="TargetObject" RefId="95"> | |
| <TNRef RefId="7" /> | |
| <DCT> | |
| <En> | |
| <S N="Key">Message</S> | |
| <S N="Value">Inconclusive by design 2</S> | |
| </En> | |
| <En> | |
| <S N="Key">File</S> | |
| <S N="Value">C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1</S> | |
| </En> | |
| <En> | |
| <S N="Key">LineText</S> | |
| <S N="Value"> Set-TestInconclusive -Message "Inconclusive by design 2"</S> | |
| </En> | |
| <En> | |
| <S N="Key">Line</S> | |
| <S N="Value">117</S> | |
| </En> | |
| </DCT> | |
| </Obj> | |
| <S N="FullyQualifiedErrorId">PesterTestInconclusive</S> | |
| <Obj N="InvocationInfo" RefId="96"> | |
| <TNRef RefId="8" /> | |
| <ToString>System.Management.Automation.InvocationInfo</ToString> | |
| <Props> | |
| <Nil N="MyCommand" /> | |
| <Obj N="BoundParameters" RefId="97"> | |
| <TNRef RefId="9" /> | |
| <DCT /> | |
| </Obj> | |
| <Obj N="UnboundArguments" RefId="98"> | |
| <TNRef RefId="10" /> | |
| <LST /> | |
| </Obj> | |
| <I32 N="ScriptLineNumber">64</I32> | |
| <I32 N="OffsetInLine">5</I32> | |
| <I64 N="HistoryId">-1</I64> | |
| <S N="ScriptName">C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Set-TestInconclusive.ps1</S> | |
| <S N="Line"> throw ( New-InconclusiveErrorRecord -Message $Message -File $file -Line $line -LineText $lineText)_x000D__x000A_</S> | |
| <S N="PositionMessage">At C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Set-TestInconclusive.ps1:64 char:5_x000D__x000A_+ throw ( New-InconclusiveErrorRecord -Message $Message -File $file ..._x000D__x000A_+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</S> | |
| <S N="PSScriptRoot">C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions</S> | |
| <S N="PSCommandPath">C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Set-TestInconclusive.ps1</S> | |
| <S N="InvocationName"></S> | |
| <I32 N="PipelineLength">0</I32> | |
| <I32 N="PipelinePosition">0</I32> | |
| <B N="ExpectingInput">false</B> | |
| <Obj N="CommandOrigin" RefId="99"> | |
| <TNRef RefId="11" /> | |
| <ToString>Internal</ToString> | |
| <I32>1</I32> | |
| </Obj> | |
| <Nil N="DisplayScriptPosition" /> | |
| </Props> | |
| </Obj> | |
| <I32 N="ErrorCategory_Category">8</I32> | |
| <S N="ErrorCategory_Activity"></S> | |
| <S N="ErrorCategory_Reason">Exception</S> | |
| <S N="ErrorCategory_TargetName">System.Collections.Hashtable</S> | |
| <S N="ErrorCategory_TargetType">Hashtable</S> | |
| <S N="ErrorCategory_Message">InvalidResult: (System.Collections.Hashtable:Hashtable) [], Exception</S> | |
| <B N="SerializeExtendedInfo">false</B> | |
| <S N="ErrorDetails_ScriptStackTrace">at Set-TestInconclusive, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Set-TestInconclusive.ps1: line 64_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 117_x000D__x000A_at Invoke-Test, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\It.ps1: line 259_x000D__x000A_at ItImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\It.ps1: line 207_x000D__x000A_at It, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\It.ps1: line 121_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 115_x000D__x000A_at DescribeImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Describe.ps1: line 161_x000D__x000A_at Context, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Context.ps1: line 72_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 95_x000D__x000A_at DescribeImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Describe.ps1: line 161_x000D__x000A_at Describe, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Describe.ps1: line 84_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 93_x000D__x000A_at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Pester.psm1: line 821_x000D__x000A_at Invoke-Pester<End>, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Pester.psm1: line 836_x000D__x000A_at <ScriptBlock>, <No file>: line 1</S> | |
| <Nil N="PSMessageDetails" /> | |
| </MS> | |
| </Obj> | |
| <S N="ParameterizedSuiteName"></S> | |
| <S N="Describe">DemoFunction2 - Static</S> | |
| <Obj N="Parameters" RefId="100"> | |
| <TNRef RefId="12" /> | |
| <DCT /> | |
| </Obj> | |
| <B N="Passed">false</B> | |
| <Ref N="Show" RefId="14" /> | |
| <S N="FailureMessage">Inconclusive by design 2</S> | |
| <TS N="Time">PT0.0296743S</TS> | |
| <S N="Name">doesn't do nothing - is inconclusive S-2-2-4</S> | |
| <S N="Result">Inconclusive</S> | |
| <S N="Context">Useless test S-2-1</S> | |
| <S N="StackTrace">at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 117_x000D__x000A_117: Set-TestInconclusive -Message "Inconclusive by design 2"</S> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="101"> | |
| <TNRef RefId="3" /> | |
| <MS> | |
| <Obj N="ErrorRecord" RefId="102"> | |
| <TNRef RefId="4" /> | |
| <ToString>Expected: value was {56}, but should not have been the same</ToString> | |
| <MS> | |
| <Obj N="Exception" RefId="103"> | |
| <TNRef RefId="5" /> | |
| <ToString>System.Exception: Expected: value was {56}, but should not have been the same</ToString> | |
| <Props> | |
| <S N="Message">Expected: value was {56}, but should not have been the same</S> | |
| <Obj N="Data" RefId="104"> | |
| <TNRef RefId="6" /> | |
| <DCT /> | |
| </Obj> | |
| <Nil N="InnerException" /> | |
| <Nil N="TargetSite" /> | |
| <Nil N="StackTrace" /> | |
| <Nil N="HelpLink" /> | |
| <Nil N="Source" /> | |
| <I32 N="HResult">-2146233088</I32> | |
| </Props> | |
| </Obj> | |
| <Obj N="TargetObject" RefId="105"> | |
| <TNRef RefId="7" /> | |
| <DCT> | |
| <En> | |
| <S N="Key">Message</S> | |
| <S N="Value">Expected: value was {56}, but should not have been the same</S> | |
| </En> | |
| <En> | |
| <S N="Key">File</S> | |
| <S N="Value">C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1</S> | |
| </En> | |
| <En> | |
| <S N="Key">LineText</S> | |
| <S N="Value"> DemoFunction2 -FirstParam 56 | Should Not Be 56</S> | |
| </En> | |
| <En> | |
| <S N="Key">Line</S> | |
| <S N="Value">124</S> | |
| </En> | |
| </DCT> | |
| </Obj> | |
| <S N="FullyQualifiedErrorId">PesterAssertionFailed</S> | |
| <Obj N="InvocationInfo" RefId="106"> | |
| <TNRef RefId="8" /> | |
| <ToString>System.Management.Automation.InvocationInfo</ToString> | |
| <Props> | |
| <Nil N="MyCommand" /> | |
| <Obj N="BoundParameters" RefId="107"> | |
| <TNRef RefId="9" /> | |
| <DCT /> | |
| </Obj> | |
| <Obj N="UnboundArguments" RefId="108"> | |
| <TNRef RefId="10" /> | |
| <LST /> | |
| </Obj> | |
| <I32 N="ScriptLineNumber">190</I32> | |
| <I32 N="OffsetInLine">9</I32> | |
| <I64 N="HistoryId">-1</I64> | |
| <S N="ScriptName">C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Should.ps1</S> | |
| <S N="Line"> throw ( New-ShouldErrorRecord -Message $testResult.FailureMessage -File $file -Line $lineNumber -LineText $lineText )_x000D__x000A_</S> | |
| <S N="PositionMessage">At C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Should.ps1:190 char:9_x000D__x000A_+ throw ( New-ShouldErrorRecord -Message $testResult.FailureMes ..._x000D__x000A_+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</S> | |
| <S N="PSScriptRoot">C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions</S> | |
| <S N="PSCommandPath">C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Should.ps1</S> | |
| <S N="InvocationName"></S> | |
| <I32 N="PipelineLength">0</I32> | |
| <I32 N="PipelinePosition">0</I32> | |
| <B N="ExpectingInput">false</B> | |
| <Obj N="CommandOrigin" RefId="109"> | |
| <TNRef RefId="11" /> | |
| <ToString>Internal</ToString> | |
| <I32>1</I32> | |
| </Obj> | |
| <Nil N="DisplayScriptPosition" /> | |
| </Props> | |
| </Obj> | |
| <I32 N="ErrorCategory_Category">8</I32> | |
| <S N="ErrorCategory_Activity"></S> | |
| <S N="ErrorCategory_Reason">Exception</S> | |
| <S N="ErrorCategory_TargetName">System.Collections.Hashtable</S> | |
| <S N="ErrorCategory_TargetType">Hashtable</S> | |
| <S N="ErrorCategory_Message">InvalidResult: (System.Collections.Hashtable:Hashtable) [], Exception</S> | |
| <B N="SerializeExtendedInfo">false</B> | |
| <S N="ErrorDetails_ScriptStackTrace">at Invoke-LegacyAssertion, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Should.ps1: line 190_x000D__x000A_at Should<End>, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Should.ps1: line 133_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 124_x000D__x000A_at Invoke-Test, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\It.ps1: line 259_x000D__x000A_at ItImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\It.ps1: line 207_x000D__x000A_at It, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\It.ps1: line 121_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 122_x000D__x000A_at DescribeImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Describe.ps1: line 161_x000D__x000A_at Context, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Context.ps1: line 72_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 95_x000D__x000A_at DescribeImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Describe.ps1: line 161_x000D__x000A_at Describe, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Describe.ps1: line 84_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 93_x000D__x000A_at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Pester.psm1: line 821_x000D__x000A_at Invoke-Pester<End>, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Pester.psm1: line 836_x000D__x000A_at <ScriptBlock>, <No file>: line 1</S> | |
| <Nil N="PSMessageDetails" /> | |
| </MS> | |
| </Obj> | |
| <S N="ParameterizedSuiteName"></S> | |
| <S N="Describe">DemoFunction2 - Static</S> | |
| <Obj N="Parameters" RefId="110"> | |
| <TNRef RefId="12" /> | |
| <DCT /> | |
| </Obj> | |
| <B N="Passed">false</B> | |
| <Ref N="Show" RefId="14" /> | |
| <S N="FailureMessage">Expected: value was {56}, but should not have been the same</S> | |
| <TS N="Time">PT0.0555308S</TS> | |
| <S N="Name">does something useful S-2-2-5</S> | |
| <S N="Result">Failed</S> | |
| <S N="Context">Useless test S-2-1</S> | |
| <S N="StackTrace">at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 124_x000D__x000A_124: DemoFunction2 -FirstParam 56 | Should Not Be 56</S> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="111"> | |
| <TNRef RefId="3" /> | |
| <MS> | |
| <Obj N="ErrorRecord" RefId="112"> | |
| <TNRef RefId="4" /> | |
| <ToString>Inconclusive by design 3</ToString> | |
| <MS> | |
| <Obj N="Exception" RefId="113"> | |
| <TNRef RefId="5" /> | |
| <ToString>System.Exception: Inconclusive by design 3</ToString> | |
| <Props> | |
| <S N="Message">Inconclusive by design 3</S> | |
| <Obj N="Data" RefId="114"> | |
| <TNRef RefId="6" /> | |
| <DCT /> | |
| </Obj> | |
| <Nil N="InnerException" /> | |
| <Nil N="TargetSite" /> | |
| <Nil N="StackTrace" /> | |
| <Nil N="HelpLink" /> | |
| <Nil N="Source" /> | |
| <I32 N="HResult">-2146233088</I32> | |
| </Props> | |
| </Obj> | |
| <Obj N="TargetObject" RefId="115"> | |
| <TNRef RefId="7" /> | |
| <DCT> | |
| <En> | |
| <S N="Key">Message</S> | |
| <S N="Value">Inconclusive by design 3</S> | |
| </En> | |
| <En> | |
| <S N="Key">File</S> | |
| <S N="Value">C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1</S> | |
| </En> | |
| <En> | |
| <S N="Key">LineText</S> | |
| <S N="Value"> Set-TestInconclusive -Message "Inconclusive by design 3"</S> | |
| </En> | |
| <En> | |
| <S N="Key">Line</S> | |
| <S N="Value">135</S> | |
| </En> | |
| </DCT> | |
| </Obj> | |
| <S N="FullyQualifiedErrorId">PesterTestInconclusive</S> | |
| <Obj N="InvocationInfo" RefId="116"> | |
| <TNRef RefId="8" /> | |
| <ToString>System.Management.Automation.InvocationInfo</ToString> | |
| <Props> | |
| <Nil N="MyCommand" /> | |
| <Obj N="BoundParameters" RefId="117"> | |
| <TNRef RefId="9" /> | |
| <DCT /> | |
| </Obj> | |
| <Obj N="UnboundArguments" RefId="118"> | |
| <TNRef RefId="10" /> | |
| <LST /> | |
| </Obj> | |
| <I32 N="ScriptLineNumber">64</I32> | |
| <I32 N="OffsetInLine">5</I32> | |
| <I64 N="HistoryId">-1</I64> | |
| <S N="ScriptName">C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Set-TestInconclusive.ps1</S> | |
| <S N="Line"> throw ( New-InconclusiveErrorRecord -Message $Message -File $file -Line $line -LineText $lineText)_x000D__x000A_</S> | |
| <S N="PositionMessage">At C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Set-TestInconclusive.ps1:64 char:5_x000D__x000A_+ throw ( New-InconclusiveErrorRecord -Message $Message -File $file ..._x000D__x000A_+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</S> | |
| <S N="PSScriptRoot">C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions</S> | |
| <S N="PSCommandPath">C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Set-TestInconclusive.ps1</S> | |
| <S N="InvocationName"></S> | |
| <I32 N="PipelineLength">0</I32> | |
| <I32 N="PipelinePosition">0</I32> | |
| <B N="ExpectingInput">false</B> | |
| <Obj N="CommandOrigin" RefId="119"> | |
| <TNRef RefId="11" /> | |
| <ToString>Internal</ToString> | |
| <I32>1</I32> | |
| </Obj> | |
| <Nil N="DisplayScriptPosition" /> | |
| </Props> | |
| </Obj> | |
| <I32 N="ErrorCategory_Category">8</I32> | |
| <S N="ErrorCategory_Activity"></S> | |
| <S N="ErrorCategory_Reason">Exception</S> | |
| <S N="ErrorCategory_TargetName">System.Collections.Hashtable</S> | |
| <S N="ErrorCategory_TargetType">Hashtable</S> | |
| <S N="ErrorCategory_Message">InvalidResult: (System.Collections.Hashtable:Hashtable) [], Exception</S> | |
| <B N="SerializeExtendedInfo">false</B> | |
| <S N="ErrorDetails_ScriptStackTrace">at Set-TestInconclusive, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Set-TestInconclusive.ps1: line 64_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 135_x000D__x000A_at Invoke-Test, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\It.ps1: line 259_x000D__x000A_at ItImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\It.ps1: line 207_x000D__x000A_at It, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\It.ps1: line 121_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 133_x000D__x000A_at DescribeImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Describe.ps1: line 161_x000D__x000A_at Context, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Context.ps1: line 72_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 131_x000D__x000A_at DescribeImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Describe.ps1: line 161_x000D__x000A_at Describe, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Describe.ps1: line 84_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 93_x000D__x000A_at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Pester.psm1: line 821_x000D__x000A_at Invoke-Pester<End>, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Pester.psm1: line 836_x000D__x000A_at <ScriptBlock>, <No file>: line 1</S> | |
| <Nil N="PSMessageDetails" /> | |
| </MS> | |
| </Obj> | |
| <S N="ParameterizedSuiteName"></S> | |
| <S N="Describe">DemoFunction2 - Static</S> | |
| <Obj N="Parameters" RefId="120"> | |
| <TNRef RefId="12" /> | |
| <DCT /> | |
| </Obj> | |
| <B N="Passed">false</B> | |
| <Ref N="Show" RefId="14" /> | |
| <S N="FailureMessage">Inconclusive by design 3</S> | |
| <TS N="Time">PT0.1742626S</TS> | |
| <S N="Name">doesn't do nothing - is inconclusive S-2-2-1</S> | |
| <S N="Result">Inconclusive</S> | |
| <S N="Context">Useless test S-2-2</S> | |
| <S N="StackTrace">at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 135_x000D__x000A_135: Set-TestInconclusive -Message "Inconclusive by design 3"</S> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="121"> | |
| <TNRef RefId="3" /> | |
| <MS> | |
| <Nil N="ErrorRecord" /> | |
| <S N="ParameterizedSuiteName"></S> | |
| <S N="Describe">DemoFunction2 - Static</S> | |
| <Obj N="Parameters" RefId="122"> | |
| <TNRef RefId="12" /> | |
| <DCT /> | |
| </Obj> | |
| <B N="Passed">true</B> | |
| <Ref N="Show" RefId="14" /> | |
| <S N="FailureMessage"></S> | |
| <TS N="Time">PT0.0333251S</TS> | |
| <S N="Name">does something useless S-2-2-2</S> | |
| <S N="Result">Passed</S> | |
| <S N="Context">Useless test S-2-2</S> | |
| <S N="StackTrace"></S> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="123"> | |
| <TNRef RefId="3" /> | |
| <MS> | |
| <Obj N="ErrorRecord" RefId="124"> | |
| <TNRef RefId="4" /> | |
| <ToString>Expected {2} to be greater than {3}</ToString> | |
| <MS> | |
| <Obj N="Exception" RefId="125"> | |
| <TNRef RefId="5" /> | |
| <ToString>System.Exception: Expected {2} to be greater than {3}</ToString> | |
| <Props> | |
| <S N="Message">Expected {2} to be greater than {3}</S> | |
| <Obj N="Data" RefId="126"> | |
| <TNRef RefId="6" /> | |
| <DCT /> | |
| </Obj> | |
| <Nil N="InnerException" /> | |
| <Nil N="TargetSite" /> | |
| <Nil N="StackTrace" /> | |
| <Nil N="HelpLink" /> | |
| <Nil N="Source" /> | |
| <I32 N="HResult">-2146233088</I32> | |
| </Props> | |
| </Obj> | |
| <Obj N="TargetObject" RefId="127"> | |
| <TNRef RefId="7" /> | |
| <DCT> | |
| <En> | |
| <S N="Key">Message</S> | |
| <S N="Value">Expected {2} to be greater than {3}</S> | |
| </En> | |
| <En> | |
| <S N="Key">File</S> | |
| <S N="Value">C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1</S> | |
| </En> | |
| <En> | |
| <S N="Key">LineText</S> | |
| <S N="Value"> DemoFunction2 -FirstParam 2 | Should BeGreaterThan 3</S> | |
| </En> | |
| <En> | |
| <S N="Key">Line</S> | |
| <S N="Value">147</S> | |
| </En> | |
| </DCT> | |
| </Obj> | |
| <S N="FullyQualifiedErrorId">PesterAssertionFailed</S> | |
| <Obj N="InvocationInfo" RefId="128"> | |
| <TNRef RefId="8" /> | |
| <ToString>System.Management.Automation.InvocationInfo</ToString> | |
| <Props> | |
| <Nil N="MyCommand" /> | |
| <Obj N="BoundParameters" RefId="129"> | |
| <TNRef RefId="9" /> | |
| <DCT /> | |
| </Obj> | |
| <Obj N="UnboundArguments" RefId="130"> | |
| <TNRef RefId="10" /> | |
| <LST /> | |
| </Obj> | |
| <I32 N="ScriptLineNumber">190</I32> | |
| <I32 N="OffsetInLine">9</I32> | |
| <I64 N="HistoryId">-1</I64> | |
| <S N="ScriptName">C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Should.ps1</S> | |
| <S N="Line"> throw ( New-ShouldErrorRecord -Message $testResult.FailureMessage -File $file -Line $lineNumber -LineText $lineText )_x000D__x000A_</S> | |
| <S N="PositionMessage">At C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Should.ps1:190 char:9_x000D__x000A_+ throw ( New-ShouldErrorRecord -Message $testResult.FailureMes ..._x000D__x000A_+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</S> | |
| <S N="PSScriptRoot">C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions</S> | |
| <S N="PSCommandPath">C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Should.ps1</S> | |
| <S N="InvocationName"></S> | |
| <I32 N="PipelineLength">0</I32> | |
| <I32 N="PipelinePosition">0</I32> | |
| <B N="ExpectingInput">false</B> | |
| <Obj N="CommandOrigin" RefId="131"> | |
| <TNRef RefId="11" /> | |
| <ToString>Internal</ToString> | |
| <I32>1</I32> | |
| </Obj> | |
| <Nil N="DisplayScriptPosition" /> | |
| </Props> | |
| </Obj> | |
| <I32 N="ErrorCategory_Category">8</I32> | |
| <S N="ErrorCategory_Activity"></S> | |
| <S N="ErrorCategory_Reason">Exception</S> | |
| <S N="ErrorCategory_TargetName">System.Collections.Hashtable</S> | |
| <S N="ErrorCategory_TargetType">Hashtable</S> | |
| <S N="ErrorCategory_Message">InvalidResult: (System.Collections.Hashtable:Hashtable) [], Exception</S> | |
| <B N="SerializeExtendedInfo">false</B> | |
| <S N="ErrorDetails_ScriptStackTrace">at Invoke-LegacyAssertion, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Should.ps1: line 190_x000D__x000A_at Should<End>, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Assertions\Should.ps1: line 139_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 147_x000D__x000A_at Invoke-Test, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\It.ps1: line 259_x000D__x000A_at ItImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\It.ps1: line 207_x000D__x000A_at It, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\It.ps1: line 121_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 145_x000D__x000A_at DescribeImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Describe.ps1: line 161_x000D__x000A_at Context, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Context.ps1: line 72_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 131_x000D__x000A_at DescribeImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Describe.ps1: line 161_x000D__x000A_at Describe, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Functions\Describe.ps1: line 84_x000D__x000A_at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 93_x000D__x000A_at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Pester.psm1: line 821_x000D__x000A_at Invoke-Pester<End>, C:\Program Files\WindowsPowerShell\Modules\Pester\4.1.1\Pester.psm1: line 836_x000D__x000A_at <ScriptBlock>, <No file>: line 1</S> | |
| <Nil N="PSMessageDetails" /> | |
| </MS> | |
| </Obj> | |
| <S N="ParameterizedSuiteName"></S> | |
| <S N="Describe">DemoFunction2 - Static</S> | |
| <Obj N="Parameters" RefId="132"> | |
| <TNRef RefId="12" /> | |
| <DCT /> | |
| </Obj> | |
| <B N="Passed">false</B> | |
| <Ref N="Show" RefId="14" /> | |
| <S N="FailureMessage">Expected {2} to be greater than {3}</S> | |
| <TS N="Time">PT0.0520754S</TS> | |
| <S N="Name">does something useless S-2-2-3</S> | |
| <S N="Result">Failed</S> | |
| <S N="Context">Useless test S-2-2</S> | |
| <S N="StackTrace">at <ScriptBlock>, C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Format-Pester\demo\DemoFunction2.Tests.ps1: line 147_x000D__x000A_147: DemoFunction2 -FirstParam 2 | Should BeGreaterThan 3</S> | |
| </MS> | |
| </Obj> | |
| <Obj RefId="133"> | |
| <TNRef RefId="3" /> | |
| <MS> | |
| <Nil N="ErrorRecord" /> | |
| <S N="ParameterizedSuiteName"></S> | |
| <S N="Describe">DemoFunction2 - Static</S> | |
| <Obj N="Parameters" RefId="134"> | |
| <TNRef RefId="12" /> | |
| <DCT /> | |
| </Obj> | |
| <B N="Passed">true</B> | |
| <Ref N="Show" RefId="14" /> | |
| <S N="FailureMessage"></S> | |
| <TS N="Time">PT0.0549443S</TS> | |
| <S N="Name">does something useful S-2-2-4</S> | |
| <S N="Result">Passed</S> | |
| <S N="Context">Useless test S-2-2</S> | |
| <S N="StackTrace"></S> | |
| </MS> | |
| </Obj> | |
| </LST> | |
| </Obj> | |
| </MS> | |
| </Obj> | |
| </Objs> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment