forked from pester/Pester
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Pester.psd1
127 lines (93 loc) · 4.27 KB
/
Pester.psd1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
@{
# Script module or binary module file associated with this manifest.
RootModule = 'Pester.psm1'
# Version number of this module.
ModuleVersion = '5.2.0'
# ID used to uniquely identify this module
GUID = 'a699dea5-2c73-4616-a270-1f7abb777e71'
# Author of this module
Author = 'Pester Team'
# Company or vendor of this module
CompanyName = 'Pester'
# Copyright statement for this module
Copyright = 'Copyright (c) 2021 by Pester Team, licensed under Apache 2.0 License.'
# Description of the functionality provided by this module
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.'
# Minimum version of the Windows PowerShell engine required by this module
PowerShellVersion = '3.0'
TypesToProcess = @()
# Functions to export from this module
FunctionsToExport = @(
'Invoke-Pester'
# blocks
'Describe'
'Context'
'It'
# mocking
'Mock'
'InModuleScope'
# setups
'BeforeDiscovery'
'BeforeAll'
'BeforeEach'
'AfterEach'
'AfterAll'
# should
'Should'
'Add-ShouldOperator'
'Get-ShouldOperator'
# export
'Export-NUnitReport'
'ConvertTo-NUnitReport'
'Export-JUnitReport'
'ConvertTo-JUnitReport'
'ConvertTo-Pester4Result'
# config
'New-PesterContainer'
# legacy
'Assert-VerifiableMock'
'Assert-MockCalled'
'Set-ItResult'
'New-MockObject'
'New-Fixture'
)
# # Cmdlets to export from this module
CmdletsToExport = ''
# Variables to export from this module
VariablesToExport = @()
# # Aliases to export from this module
AliasesToExport = @(
'Add-AssertionOperator'
'Get-AssertionOperator'
)
# List of all modules packaged with this module
# ModuleList = @()
# List of all files packaged with this module
# FileList = @()
PrivateData = @{
# PSData is module packaging and gallery metadata embedded in PrivateData
# It's for rebuilding PowerShellGet (and PoshCode) NuGet-style packages
# We had to do this because it's the only place we're allowed to extend the manifest
# https://connect.microsoft.com/PowerShell/feedback/details/421837
PSData = @{
# The primary categorization of this module (from the TechNet Gallery tech tree).
Category = "Scripting Techniques"
# Keyword tags to help users find this module via navigations and search.
Tags = @('powershell', 'unit_testing', 'bdd', 'tdd', 'mocking', 'PSEdition_Core', 'PSEdition_Desktop', 'Windows', 'Linux', 'MacOS')
# The web address of an icon which can be used in galleries to represent this module
IconUri = 'https://raw.githubusercontent.com/pester/Pester/master/images/pester.PNG'
# The web address of this module's project or support homepage.
ProjectUri = "https://github.com/Pester/Pester"
# The web address of this module's license. Points to a page that's embeddable and linkable.
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/5.2.0-alpha2'
# Prerelease string of this module
Prerelease = 'alpha2'
}
}
# HelpInfo URI of this module
# HelpInfoURI = ''
# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
# DefaultCommandPrefix = ''
}