TestResult.xml
<?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="28" errors="0" failures="0" not-run="0" inconclusive="0" ignored="0" skipped="0" invalid="0" date="2017-06-19" time="15:22:30"> <environment user="Iain" machine-name="OFFICEPC" cwd="C:\Users\Iain\Dropbox\PowerShell\Modules\XmlEx" user-domain="OFFICEPC" platform="Microsoft Windows 10 Enterprise|C:\WINDOWS|\Device\Harddisk0\Partition4" nunit-version="2.5.8.0" os-version="10.0.15063" clr-version="4.0.30319.42000" /> <culture-info current-culture="en-GB" current-uiculture="en-GB" /> <test-suite type="TestFixture" name="Pester" executed="True" result="Success" success="True" time="4.495" asserts="0" description="Pester"> <results> <test-suite type="TestFixture" name="C:\Users\Iain\Dropbox\PowerShell\Modules\XmlEx\Tests\Unit\Src\Public\Add-XmlExAttribute.Tests.ps1" executed="True" result="Success" success="True" time="2.3393" asserts="0" description="C:\Users\Iain\Dropbox\PowerShell\Modules\XmlEx\Tests\Unit\Src\Public\Add-XmlExAttribute.Tests.ps1"> <results> <test-suite type="TestFixture" name="Src\Add-XmlExAttribute" executed="True" result="Success" success="True" time="2.3393" asserts="0" description="Src\Add-XmlExAttribute"> <results> <test-case description="returns [System.Xml.XmlAttribute] object type" name="Src\Add-XmlExAttribute.returns [System.Xml.XmlAttribute] object type" time="1.7934" asserts="0" success="True" result="Success" executed="True" /> <test-case description="adds attribute to existing element" name="Src\Add-XmlExAttribute.adds attribute to existing element" time="0.1285" asserts="0" success="True" result="Success" executed="True" /> <test-case description="adds attribute in a new document" name="Src\Add-XmlExAttribute.adds attribute in a new document" time="0.1339" asserts="0" success="True" result="Success" executed="True" /> <test-case description="adds attribute with a namespace" name="Src\Add-XmlExAttribute.adds attribute with a namespace" time="0.0919" asserts="0" success="True" result="Success" executed="True" /> <test-case description="adds attribute with a prefixed namespace" name="Src\Add-XmlExAttribute.adds attribute with a prefixed namespace" time="0.0336" asserts="0" success="True" result="Success" executed="True" /> <test-case description="throws when adding attribute when document contains no root element" name="Src\Add-XmlExAttribute.throws when adding attribute when document contains no root element" time="0.158" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="C:\Users\Iain\Dropbox\PowerShell\Modules\XmlEx\Tests\Unit\Src\Public\Add-XmlExComment.Tests.ps1" executed="True" result="Success" success="True" time="0.4193" asserts="0" description="C:\Users\Iain\Dropbox\PowerShell\Modules\XmlEx\Tests\Unit\Src\Public\Add-XmlExComment.Tests.ps1"> <results> <test-suite type="TestFixture" name="Src\Add-XmlExComment" executed="True" result="Success" success="True" time="0.4193" asserts="0" description="Src\Add-XmlExComment"> <results> <test-case description="returns [System.Xml.XmlComment] object type" name="Src\Add-XmlExComment.returns [System.Xml.XmlComment] object type" time="0.3867" asserts="0" success="True" result="Success" executed="True" /> <test-case description="creates "<!--{0}-->" comment" name="Src\Add-XmlExComment.creates "<!--{0}-->" comment" time="0.0327" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="C:\Users\Iain\Dropbox\PowerShell\Modules\XmlEx\Tests\Unit\Src\Public\Add-XmlExElement.Tests.ps1" executed="True" result="Success" success="True" time="0.2939" asserts="0" description="C:\Users\Iain\Dropbox\PowerShell\Modules\XmlEx\Tests\Unit\Src\Public\Add-XmlExElement.Tests.ps1"> <results> <test-suite type="TestFixture" name="Src\Add-XmlExElement" executed="True" result="Success" success="True" time="0.2939" asserts="0" description="Src\Add-XmlExElement"> <results> <test-case description="returns [System.Xml.XmlElement] object type" name="Src\Add-XmlExElement.returns [System.Xml.XmlElement] object type" time="0.1134" asserts="0" success="True" result="Success" executed="True" /> <test-case description="creates an element" name="Src\Add-XmlExElement.creates an element" time="0.0258" asserts="0" success="True" result="Success" executed="True" /> <test-case description="calls nested "ScriptBlock"" name="Src\Add-XmlExElement.calls nested "ScriptBlock"" time="0.0477" asserts="0" success="True" result="Success" executed="True" /> <test-case description="creates an element with a namespace" name="Src\Add-XmlExElement.creates an element with a namespace" time="0.0298" asserts="0" success="True" result="Success" executed="True" /> <test-case description="creates an element with a prefixed namespace" name="Src\Add-XmlExElement.creates an element with a prefixed namespace" time="0.019" asserts="0" success="True" result="Success" executed="True" /> <test-case description="adds an element to an existing [XmlElement]" name="Src\Add-XmlExElement.adds an element to an existing [XmlElement]" time="0.0583" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="C:\Users\Iain\Dropbox\PowerShell\Modules\XmlEx\Tests\Unit\Src\Public\Add-XmlExNamespace.Tests.ps1" executed="True" result="Success" success="True" time="0.5574" asserts="0" description="C:\Users\Iain\Dropbox\PowerShell\Modules\XmlEx\Tests\Unit\Src\Public\Add-XmlExNamespace.Tests.ps1"> <results> <test-suite type="TestFixture" name="Src\Add-XmlExNamespace" executed="True" result="Success" success="True" time="0.5574" asserts="0" description="Src\Add-XmlExNamespace"> <results> <test-case description="Creates [System.Xml.XmlDocument] with a namespace" name="Src\Add-XmlExNamespace.Creates [System.Xml.XmlDocument] with a namespace" time="0.2854" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Creates [System.Xml.XmlDocument] with a prefixed namespace" name="Src\Add-XmlExNamespace.Creates [System.Xml.XmlDocument] with a prefixed namespace" time="0.1745" asserts="0" success="True" result="Success" executed="True" /> <test-case description="throws when calling "XmlNamespace" outside of "XmlDocument" script block" name="Src\Add-XmlExNamespace.throws when calling "XmlNamespace" outside of "XmlDocument" script block" time="0.0975" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="C:\Users\Iain\Dropbox\PowerShell\Modules\XmlEx\Tests\Unit\Src\Public\Add-XmlExText.Tests.ps1" executed="True" result="Success" success="True" time="0.442" asserts="0" description="C:\Users\Iain\Dropbox\PowerShell\Modules\XmlEx\Tests\Unit\Src\Public\Add-XmlExText.Tests.ps1"> <results> <test-suite type="TestFixture" name="Src\Add-XmlExText" executed="True" result="Success" success="True" time="0.442" asserts="0" description="Src\Add-XmlExText"> <results> <test-case description="returns [System.Xml.XmlText] object type" name="Src\Add-XmlExText.returns [System.Xml.XmlText] object type" time="0.2888" asserts="0" success="True" result="Success" executed="True" /> <test-case description="creates element text node" name="Src\Add-XmlExText.creates element text node" time="0.0944" asserts="0" success="True" result="Success" executed="True" /> <test-case description="throws when adding text to the document root" name="Src\Add-XmlExText.throws when adding text to the document root" time="0.0588" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="C:\Users\Iain\Dropbox\PowerShell\Modules\XmlEx\Tests\Unit\Src\Public\New-XmlExDocument.Tests.ps1" executed="True" result="Success" success="True" time="0.1842" asserts="0" description="C:\Users\Iain\Dropbox\PowerShell\Modules\XmlEx\Tests\Unit\Src\Public\New-XmlExDocument.Tests.ps1"> <results> <test-suite type="TestFixture" name="Src\New-XmlExDocument" executed="True" result="Success" success="True" time="0.1842" asserts="0" description="Src\New-XmlExDocument"> <results> <test-case description="creates a [System.Xml.XmlDocument] object type" name="Src\New-XmlExDocument.creates a [System.Xml.XmlDocument] object type" time="0.1277" asserts="0" success="True" result="Success" executed="True" /> <test-case description="calls nested "ScriptBlock"" name="Src\New-XmlExDocument.calls nested "ScriptBlock"" time="0.0164" asserts="0" success="True" result="Success" executed="True" /> <test-case description="throws adding "XmlNamespace" to an empty "XmlDocument"" name="Src\New-XmlExDocument.throws adding "XmlNamespace" to an empty "XmlDocument"" time="0.0401" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="C:\Users\Iain\Dropbox\PowerShell\Modules\XmlEx\Tests\Unit\Src\Public\Set-XmlExDeclaration.Tests.ps1" executed="True" result="Success" success="True" time="0.259" asserts="0" description="C:\Users\Iain\Dropbox\PowerShell\Modules\XmlEx\Tests\Unit\Src\Public\Set-XmlExDeclaration.Tests.ps1"> <results> <test-suite type="TestFixture" name="Src\Set-XmlExDeclaration" executed="True" result="Success" success="True" time="0.259" asserts="0" description="Src\Set-XmlExDeclaration"> <results> <test-case description="returns [System.Xml.XmlDeclaration] object type" name="Src\Set-XmlExDeclaration.returns [System.Xml.XmlDeclaration] object type" time="0.1448" asserts="0" success="True" result="Success" executed="True" /> <test-case description="adds version number by default" name="Src\Set-XmlExDeclaration.adds version number by default" time="0.0243" asserts="0" success="True" result="Success" executed="True" /> <test-case description="adds encoding declaration when specified" name="Src\Set-XmlExDeclaration.adds encoding declaration when specified" time="0.013" asserts="0" success="True" result="Success" executed="True" /> <test-case description="adds standalone declaration when specified" name="Src\Set-XmlExDeclaration.adds standalone declaration when specified" time="0.0227" asserts="0" success="True" result="Success" executed="True" /> <test-case description="throws when called outside the XmlDocument scope" name="Src\Set-XmlExDeclaration.throws when called outside the XmlDocument scope" time="0.0542" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> </results> </test-suite> </test-results> |