From 34fb15b34752abb4f5a9470faa7be96105d81b36 Mon Sep 17 00:00:00 2001 From: Wojciech Sciesinski Date: Sun, 4 Dec 2016 00:40:04 +0100 Subject: [PATCH] v.1.4.1 --- Format-Pester/Format-Pester.psd1 | 6 +++--- Format-Pester/Public/Format-Pester.ps1 | 19 ++++++++++++++----- Format-Pester/Public/en-US/Format-Pester.psd1 | 2 +- Format-Pester/Public/pl-PL/Format-Pester.psd1 | 2 +- VERSIONS.md | 8 ++++++-- 5 files changed, 25 insertions(+), 12 deletions(-) diff --git a/Format-Pester/Format-Pester.psd1 b/Format-Pester/Format-Pester.psd1 index 90adcd5..8bb9582 100644 --- a/Format-Pester/Format-Pester.psd1 +++ b/Format-Pester/Format-Pester.psd1 @@ -14,7 +14,7 @@ RootModule = 'Format-Pester.psm1' # Version number of this module. # If you are increasing ModuleVersion please change also the values of variable 'ScriptVersion' in the Format-Pester.ps1 file # Verify also translations and increase the values of msg00 fields -ModuleVersion = '1.4.0' +ModuleVersion = '1.4.1' # ID used to uniquely identify this module GUID = 'daa609a5-1293-4f62-9467-1a120c529e87' @@ -97,7 +97,7 @@ PrivateData = @{ Tags = @('Pester','PScribo') # A URL to the license for this module. - # LicenseUri = 'https://github.com/equelin/Format-Pester/blob/master/LICENSE' + LicenseUri = 'https://github.com/equelin/Format-Pester/blob/master/LICENSE' # A URL to the main website for this project. ProjectUri = 'https://github.com/equelin/Format-Pester' @@ -106,7 +106,7 @@ PrivateData = @{ # IconUri = '' # ReleaseNotes of this module - # ReleaseNotes = '' + ReleaseNotes = 'https://github.com/equelin/Format-Pester/blob/master/VERSIONS.md' } # End of PSData hashtable diff --git a/Format-Pester/Public/Format-Pester.ps1 b/Format-Pester/Public/Format-Pester.ps1 index a7ccd91..1b8d633 100644 --- a/Format-Pester/Public/Format-Pester.ps1 +++ b/Format-Pester/Public/Format-Pester.ps1 @@ -71,8 +71,20 @@ Function Format-Pester { This command will document the results of the Pester's tests. Documents will be stored in the current path and they will be available in 3 formats (.html,.docx and .txt). + .EXAMPLE + Invoke-Pester -PassThru | Export-Clixml -Path .\Test-Result.xml + + Import-Clixml -Path .\Test-Result.xml | Format-Pester -Format .\ -BaseFileName Test-Result -Format HTML -FailedOnly + + The first command you can run e.g. on a server where PScribo and Format-Pester is not installed. The tests results will be stored in a file as xml representation of object. + + After copy the file to the computer where PScribo and Format-Pester are available you can generate report. The html file will be generated with results of failed tests only. + .LINK https://github.com/equelin/Format-Pester + + .LINK + https://github.com/iainbrighton/PScribo .NOTES Initial author: Erwan Quelin @@ -84,10 +96,7 @@ Function Format-Pester { LICENSE Licensed under the MIT License - https://github.com/equelin/Format-Pester/blob/master/LICENSE - TODO - - Pester test need to be updated - yes, post factum TDD ;-) - - #> + #> [CmdletBinding(DefaultParameterSetName = 'AllParamSet')] [OutputType([IO.FileInfo])] @@ -150,7 +159,7 @@ Function Format-Pester { [Switch]$DumpPScriboObject ) - [Version]$ScriptVersion = "1.4.0" + [Version]$ScriptVersion = "1.4.1" If ($Version.IsPresent) { diff --git a/Format-Pester/Public/en-US/Format-Pester.psd1 b/Format-Pester/Public/en-US/Format-Pester.psd1 index 25702bd..bb985eb 100644 --- a/Format-Pester/Public/en-US/Format-Pester.psd1 +++ b/Format-Pester/Public/en-US/Format-Pester.psd1 @@ -8,7 +8,7 @@ # culture="en-US" ConvertFrom-StringData @' - msg00 = 1.4.0 + msg00 = 1.4.1 msg01 = Table of Contents msg02 = Total Tests msg03 = Passed Tests diff --git a/Format-Pester/Public/pl-PL/Format-Pester.psd1 b/Format-Pester/Public/pl-PL/Format-Pester.psd1 index 1799ca6..56b8410 100644 --- a/Format-Pester/Public/pl-PL/Format-Pester.psd1 +++ b/Format-Pester/Public/pl-PL/Format-Pester.psd1 @@ -8,7 +8,7 @@ # culture="pl-PL" ConvertFrom-StringData @' - msg00 = 1.4.0 + msg00 = 1.4.1 msg01 = Spis treści msg02 = Testy ogółem msg03 = Testy zdane diff --git a/VERSIONS.md b/VERSIONS.md index afcfb8a..491350b 100644 --- a/VERSIONS.md +++ b/VERSIONS.md @@ -7,7 +7,6 @@ ## 1.2.0 - 2016-07-20 ## 1.3.0 - 2016-08-14 - - ## 1.3.1 - 2016-08-14 - Fix: added explicit Throw for null or empty PesterResult parameter @@ -22,4 +21,9 @@ - Fix issue #12 - Update - help: descriptions of INPUTS, OUTPUTS added - - possibility to dump the PScribo Document object added \ No newline at end of file + - possibility to dump the PScribo Document object added + +## 1.4.1 - 2016-12-04 + - Update + - help: an example added, link to PScribo added + - module manifest: added link to the VERSION.md \ No newline at end of file