|
4 | 4 | RootModule = 'Pester.psm1'
|
5 | 5 |
|
6 | 6 | # Version number of this module.
|
7 |
| - ModuleVersion = '5.6.1' |
| 7 | + ModuleVersion = '6.0.0' |
8 | 8 |
|
9 | 9 | # ID used to uniquely identify this module
|
10 | 10 | GUID = 'a699dea5-2c73-4616-a270-1f7abb777e71'
|
|
22 | 22 | Description = 'Pester provides a framework for running BDD style Tests to execute and validate PowerShell commands inside of PowerShell and offers a powerful set of Mocking Functions that allow tests to mimic and mock the functionality of any command inside of a piece of PowerShell code being tested. Pester tests can execute any command or script that is accessible to a pester test file. This can include functions, Cmdlets, Modules and scripts. Pester can be run in ad hoc style in a console or it can be integrated into the Build scripts of a Continuous Integration system.'
|
23 | 23 |
|
24 | 24 | # Minimum version of the Windows PowerShell engine required by this module
|
25 |
| - PowerShellVersion = '3.0' |
| 25 | + PowerShellVersion = '5.1' |
26 | 26 |
|
27 | 27 | # Type files (.ps1xml) to be loaded when importing this module
|
28 | 28 | TypesToProcess = @()
|
|
66 | 66 | 'New-PesterContainer'
|
67 | 67 | 'New-PesterConfiguration'
|
68 | 68 |
|
69 |
| - # legacy |
70 |
| - 'Assert-VerifiableMock' |
71 |
| - 'Assert-MockCalled' |
72 |
| - 'Set-ItResult' |
| 69 | + # assert |
| 70 | + # bool |
| 71 | + 'Should-BeFalse' |
| 72 | + 'Should-BeTrue' |
| 73 | + 'Should-BeFalsy' |
| 74 | + 'Should-BeTruthy' |
| 75 | + |
| 76 | + # collection |
| 77 | + 'Should-All' |
| 78 | + 'Should-Any' |
| 79 | + 'Should-ContainCollection' |
| 80 | + 'Should-NotContainCollection' |
| 81 | + 'Should-BeCollection' |
| 82 | + 'Should-BeEquivalent' |
| 83 | + 'Should-Throw' |
| 84 | + 'Should-Be' |
| 85 | + 'Should-BeGreaterThan' |
| 86 | + 'Should-BeGreaterThanOrEqual' |
| 87 | + 'Should-BeLessThan' |
| 88 | + 'Should-BeLessThanOrEqual' |
| 89 | + 'Should-NotBe' |
| 90 | + 'Should-NotBeNull' |
| 91 | + 'Should-NotBeSame' |
| 92 | + 'Should-NotHaveType' |
| 93 | + 'Should-BeNull' |
| 94 | + 'Should-BeSame' |
| 95 | + 'Should-HaveType' |
| 96 | + |
| 97 | + # string |
| 98 | + 'Should-BeString' |
| 99 | + 'Should-NotBeString' |
| 100 | + |
| 101 | + 'Should-BeEmptyString' |
| 102 | + |
| 103 | + 'Should-NotBeWhiteSpaceString' |
| 104 | + 'Should-NotBeEmptyString' |
| 105 | + |
| 106 | + 'Should-BeLikeString' |
| 107 | + 'Should-NotBeLikeString' |
| 108 | + |
| 109 | + 'Should-BeFasterThan' |
| 110 | + 'Should-BeSlowerThan' |
| 111 | + 'Should-BeBefore' |
| 112 | + 'Should-BeAfter' |
| 113 | + |
| 114 | + # helpers |
73 | 115 | 'New-MockObject'
|
74 |
| - |
75 | 116 | 'New-Fixture'
|
| 117 | + 'Set-ItResult' |
76 | 118 | )
|
77 | 119 |
|
78 | 120 | # # Cmdlets to export from this module
|
|
116 | 158 | LicenseUri = "https://www.apache.org/licenses/LICENSE-2.0.html"
|
117 | 159 |
|
118 | 160 | # Release notes for this particular version of the module
|
119 |
| - ReleaseNotes = 'https://github.com/pester/Pester/releases/tag/5.6.1' |
120 |
| - |
121 |
| - # Prerelease string of this module |
122 |
| - Prerelease = '' |
123 |
| - } |
124 |
| - |
125 |
| - # Minimum assembly version required |
126 |
| - RequiredAssemblyVersion = '5.6.1' |
127 |
| - } |
128 |
| - |
129 |
| - # HelpInfo URI of this module |
130 |
| - # HelpInfoURI = '' |
131 |
| - |
132 |
| - # Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix. |
133 |
| - # DefaultCommandPrefix = '' |
134 |
| - |
135 |
| -} } } } |
136 |
| - # List of all files packaged with this module |
137 |
| - # FileList = @() |
138 |
| - |
139 |
| - PrivateData = @{ |
140 |
| - # PSData is module packaging and gallery metadata embedded in PrivateData |
141 |
| - # It's for rebuilding PowerShellGet (and PoshCode) NuGet-style packages |
142 |
| - # We had to do this because it's the only place we're allowed to extend the manifest |
143 |
| - # https://connect.microsoft.com/PowerShell/feedback/details/421837 |
144 |
| - PSData = @{ |
145 |
| - # The primary categorization of this module (from the TechNet Gallery tech tree). |
146 |
| - Category = "Scripting Techniques" |
147 |
| - |
148 |
| - # Keyword tags to help users find this module via navigations and search. |
149 |
| - Tags = @('powershell', 'unit_testing', 'bdd', 'tdd', 'mocking', 'PSEdition_Core', 'PSEdition_Desktop', 'Windows', 'Linux', 'MacOS') |
150 |
| - |
151 |
| - # The web address of an icon which can be used in galleries to represent this module |
152 |
| - IconUri = 'https://raw.githubusercontent.com/pester/Pester/main/images/pester.PNG' |
153 |
| - |
154 |
| - # The web address of this module's project or support homepage. |
155 |
| - ProjectUri = "https://github.com/Pester/Pester" |
156 |
| - |
157 |
| - # The web address of this module's license. Points to a page that's embeddable and linkable. |
158 |
| - LicenseUri = "https://www.apache.org/licenses/LICENSE-2.0.html" |
159 |
| - |
160 |
| - # Release notes for this particular version of the module |
161 |
| - ReleaseNotes = 'https://github.com/pester/Pester/releases/tag/6.0.0-alpha5' |
| 161 | + ReleaseNotes = 'https://github.com/pester/Pester/releases/tag/6.0.0-alpha4' |
162 | 162 |
|
163 | 163 | # Prerelease string of this module
|
164 |
| - Prerelease = 'alpha5' |
| 164 | + Prerelease = 'alpha4' |
165 | 165 | }
|
166 | 166 |
|
167 | 167 | # Minimum assembly version required
|
|
0 commit comments