forked from pester/Pester
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Pester.psd1
141 lines (114 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
@{
# Script module or binary module file associated with this manifest.
ModuleToProcess = 'Pester.psm1'
# Version number of this module.
ModuleVersion = '4.0.8'
# 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) 2017 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 = '2.0'
# Functions to export from this module
FunctionsToExport = @(
'Describe'
'Context'
'It'
'Should'
'Mock'
'Assert-MockCalled'
'Assert-VerifiableMock'
'Assert-VerifiableMocks'
'New-Fixture'
'Get-TestDriveItem'
'Invoke-Pester'
'Setup'
'In'
'InModuleScope'
'Invoke-Mock'
'BeforeEach'
'AfterEach'
'BeforeAll'
'AfterAll'
'Get-MockDynamicParameter'
'Set-DynamicParameterVariable'
'Set-TestInconclusive'
'SafeGetCommand'
'New-PesterOption'
'New-MockObject'
'Add-AssertionOperator'
# Gherkin Support:
'Invoke-Gherkin'
'Invoke-GherkinStep'
'Find-GherkinStep'
'GherkinStep'
'BeforeEachFeature'
'AfterEachFeature'
'BeforeEachScenario'
'AfterEachScenario'
)
# # Cmdlets to export from this module
# CmdletsToExport = '*'
# Variables to export from this module
VariablesToExport = @(
'Path'
'TagFilter'
'ExcludeTagFilter'
'TestNameFilter'
'TestResult'
'CurrentContext'
'CurrentDescribe'
'CurrentTest'
'SessionState'
'CommandCoverage'
'BeforeEach'
'AfterEach'
'Strict'
)
# # Aliases to export from this module
AliasesToExport = @(
'Given'
'When'
'Then'
'And'
'But'
)
# 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')
# The web address of an icon which can be used in galleries to represent this module
IconUri = 'https://raw.githubusercontent.com/pester/Pester/master/doc/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/4.0.8'
# If true, the LicenseUrl points to an end-user license (not just a source license) which requires the user agreement before use.
# RequireLicenseAcceptance = ""
# Indicates this is a pre-release/testing version of the module.
IsPrerelease = 'False'
}
}
# HelpInfo URI of this module
# HelpInfoURI = ''
# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
# DefaultCommandPrefix = ''
}