Skip to content

Commit

Permalink
Tiny fix and bump to 4.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nohwnd committed Sep 8, 2019
1 parent a39c98e commit e42500b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
4 changes: 2 additions & 2 deletions Functions/TestResults.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down
4 changes: 2 additions & 2 deletions Pester.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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 = ''
Expand Down

0 comments on commit e42500b

Please sign in to comment.