diff --git a/CHANGELOG.md b/CHANGELOG.md index a545f91fb..c679bc0e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## 4.9.0 (September 8, 2019) + +- Add JUnit format for results [#1347](https://github.com/pester/Pester/pull/1347) +- Add skip reason to nUnit output [#1353](https://github.com/pester/Pester/pull/1353) +- Add header with Pester version to output [#1343](https://github.com/pester/Pester/pull/1343) +- Fix detect variable and params conflicts [#1292](https://github.com/pester/Pester/pull/1292) +- Fix signing of ps1xml files + ## 4.8.1 (May 11, 2019) - Fix default parameter comparison on v2 [#1310](https://github.com/pester/Pester/pull/1310) diff --git a/Functions/TestResults.Tests.ps1 b/Functions/TestResults.Tests.ps1 index a2f58c822..f9544861f 100644 --- a/Functions/TestResults.Tests.ps1 +++ b/Functions/TestResults.Tests.ps1 @@ -292,11 +292,11 @@ InModuleScope Pester { # there is a slight variation between what is recorded in the xml and what comes from the testresult # e.g. xml = 0.202, testresult - 0.201 # therefore we only test for 1 digits after decimal point - ([decimal]$xmlTestSuite1.time).ToString('0.0') | Should -Be ($Describe1.time.TotalSeconds.ToString('0.0', [System.Globalization.CultureInfo]::InvariantCulture)) + ([decimal]$xmlTestSuite1.time).ToString('0.0', [System.Globalization.CultureInfo]::InvariantCulture) | Should -Be ($Describe1.time.TotalSeconds.ToString('0.0', [System.Globalization.CultureInfo]::InvariantCulture)) $xmlTestSuite2 = $xmlResult.'testsuites'.'testsuite'[1] $xmlTestSuite2.name | Should -Be "Describe #2" - ([decimal]$xmlTestSuite2.time).ToString('0.0') | Should -Be ($Describe2.time.TotalSeconds.ToString('0.0', [System.Globalization.CultureInfo]::InvariantCulture)) + ([decimal]$xmlTestSuite2.time).ToString('0.0', [System.Globalization.CultureInfo]::InvariantCulture) | Should -Be ($Describe2.time.TotalSeconds.ToString('0.0', [System.Globalization.CultureInfo]::InvariantCulture)) } it "should write the environment information in properties" { diff --git a/Pester.psd1 b/Pester.psd1 index 950bfc435..2038164a2 100644 --- a/Pester.psd1 +++ b/Pester.psd1 @@ -4,7 +4,7 @@ ModuleToProcess = 'Pester.psm1' # Version number of this module. - ModuleVersion = '4.8.1' + ModuleVersion = '4.9.0' # ID used to uniquely identify this module GUID = 'a699dea5-2c73-4616-a270-1f7abb777e71' @@ -127,7 +127,7 @@ LicenseUri = "https://www.apache.org/licenses/LICENSE-2.0.html" # Release notes for this particular version of the module - ReleaseNotes = 'https://github.com/pester/Pester/releases/tag/4.8.1' + ReleaseNotes = 'https://github.com/pester/Pester/releases/tag/4.9.0' # Prerelease string of this module Prerelease = ''