Skip to content

Commit d72706c

Browse files
committed
v.1.4.1
1 parent 0486410 commit d72706c

File tree

3 files changed

+23
-10
lines changed

3 files changed

+23
-10
lines changed

Format-Pester/Format-Pester.psd1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ RootModule = 'Format-Pester.psm1'
1414
# Version number of this module.
1515
# If you are increasing ModuleVersion please change also the values of variable 'ScriptVersion' in the Format-Pester.ps1 file
1616
# Verify also translations and increase the values of msg00 fields
17-
ModuleVersion = '1.4.0'
17+
ModuleVersion = '1.4.1'
1818

1919
# ID used to uniquely identify this module
2020
GUID = 'daa609a5-1293-4f62-9467-1a120c529e87'
@@ -97,7 +97,7 @@ PrivateData = @{
9797
Tags = @('Pester','PScribo')
9898

9999
# A URL to the license for this module.
100-
# LicenseUri = 'https://github.com/equelin/Format-Pester/blob/master/LICENSE'
100+
LicenseUri = 'https://github.com/equelin/Format-Pester/blob/master/LICENSE'
101101

102102
# A URL to the main website for this project.
103103
ProjectUri = 'https://github.com/equelin/Format-Pester'
@@ -106,7 +106,7 @@ PrivateData = @{
106106
# IconUri = ''
107107

108108
# ReleaseNotes of this module
109-
# ReleaseNotes = ''
109+
ReleaseNotes = 'https://github.com/equelin/Format-Pester/blob/master/VERSIONS.md'
110110

111111
} # End of PSData hashtable
112112

Format-Pester/Public/Format-Pester.ps1

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,20 @@ Function Format-Pester {
7171
This command will document the results of the Pester's tests.
7272
Documents will be stored in the current path and they will be available in 3 formats (.html,.docx and .txt).
7373
74+
.EXAMPLE
75+
Invoke-Pester -PassThru | Export-Clixml -Path .\Test-Result.xml
76+
77+
Import-Clixml -Path .\Test-Result.xml | Format-Pester -Format .\ -BaseFileName Test-Result -Format HTML -FailedOnly
78+
79+
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.
80+
81+
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.
82+
7483
.LINK
7584
https://github.com/equelin/Format-Pester
85+
86+
.LINK
87+
https://github.com/iainbrighton/PScribo
7688
7789
.NOTES
7890
Initial author: Erwan Quelin
@@ -84,10 +96,7 @@ Function Format-Pester {
8496
LICENSE
8597
Licensed under the MIT License - https://github.com/equelin/Format-Pester/blob/master/LICENSE
8698
87-
TODO
88-
- Pester test need to be updated - yes, post factum TDD ;-)
89-
90-
#>
99+
#>
91100

92101
[CmdletBinding(DefaultParameterSetName = 'AllParamSet')]
93102
[OutputType([IO.FileInfo])]
@@ -150,7 +159,7 @@ Function Format-Pester {
150159
[Switch]$DumpPScriboObject
151160
)
152161

153-
[Version]$ScriptVersion = "1.4.0"
162+
[Version]$ScriptVersion = "1.4.1"
154163

155164
If ($Version.IsPresent) {
156165

VERSIONS.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
## 1.2.0 - 2016-07-20
88

99
## 1.3.0 - 2016-08-14
10-
-
1110

1211
## 1.3.1 - 2016-08-14
1312
- Fix: added explicit Throw for null or empty PesterResult parameter
@@ -22,4 +21,9 @@
2221
- Fix issue #12
2322
- Update
2423
- help: descriptions of INPUTS, OUTPUTS added
25-
- possibility to dump the PScribo Document object added
24+
- possibility to dump the PScribo Document object added
25+
26+
## 1.4.1 - 2016-12-04
27+
- Update
28+
- help: an example added, link to PScribo added
29+
- module manifest: added link to the VERSION.md

0 commit comments

Comments
 (0)