source
stringclasses
1 value
repo
stringclasses
33 values
repo_url
stringclasses
33 values
path
stringlengths
7
179
language
stringclasses
1 value
license
stringclasses
4 values
stars
int64
2.27k
53.4k
ref
stringclasses
4 values
size_bytes
int64
48
259k
text
stringlengths
48
259k
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Export-DbaExecutionPlan.Tests.ps1
PowerShell
mit
2,763
development
1,208
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Export-DbaExecutionPlan", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected par...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Set-DbaDbIdentity.Tests.ps1
PowerShell
mit
2,763
development
5,276
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Set-DbaDbIdentity", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameters...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Find-DbaInstance.Tests.ps1
PowerShell
mit
2,763
development
5,929
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Find-DbaInstance", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameters"...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Measure-DbaDiskSpaceRequirement.Tests.ps1
PowerShell
mit
2,763
development
2,509
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Measure-DbaDiskSpaceRequirement", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expe...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaDbSharePoint.Tests.ps1
PowerShell
mit
2,763
development
5,060
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaDbSharePoint", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected paramet...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Export-DbaRegServer.Tests.ps1
PowerShell
mit
2,763
development
8,336
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Export-DbaRegServer", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected paramet...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Set-DbaDbMailAccount.Tests.ps1
PowerShell
mit
2,763
development
5,192
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Set-DbaDbMailAccount", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected paramet...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaLocaleSetting.Tests.ps1
PowerShell
mit
2,763
development
1,062
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaLocaleSetting", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parame...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaRgResourcePool.Tests.ps1
PowerShell
mit
2,763
development
1,782
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaRgResourcePool", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected param...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaBackupDevice.Tests.ps1
PowerShell
mit
2,763
development
2,159
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaBackupDevice", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected paramet...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/New-DbaAgentOperator.Tests.ps1
PowerShell
mit
2,763
development
5,216
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-DbaAgentOperator", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parame...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Disable-DbaReplPublishing.Tests.ps1
PowerShell
mit
2,763
development
957
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Disable-DbaReplPublishing", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected p...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Remove-DbaRegServerGroup.Tests.ps1
PowerShell
mit
2,763
development
3,271
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaRegServerGroup", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected pa...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbatoolsConfigValue.Tests.ps1
PowerShell
mit
2,763
development
1,003
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbatoolsConfigValue", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected par...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Install-DbaWhoIsActive.Tests.ps1
PowerShell
mit
2,763
development
2,783
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Install-DbaWhoIsActive", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected para...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Find-DbaDbUnusedIndex.Tests.ps1
PowerShell
mit
2,763
development
5,115
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Find-DbaDbUnusedIndex", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected param...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaDbPartitionFunction.Tests.ps1
PowerShell
mit
2,763
development
2,984
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaDbPartitionFunction", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected ...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Export-DbaBinaryFile.Tests.ps1
PowerShell
mit
2,763
development
5,160
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Export-DbaBinaryFile", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parame...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaDbMailServer.Tests.ps1
PowerShell
mit
2,763
development
4,178
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaDbMailServer", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected paramet...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Copy-DbaDbTableData.Tests.ps1
PowerShell
mit
2,763
development
13,948
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Copy-DbaDbTableData", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected paramet...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Find-DbaStoredProcedure.Tests.ps1
PowerShell
mit
2,763
development
6,064
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Find-DbaStoredProcedure", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected par...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaAgentSchedule.Tests.ps1
PowerShell
mit
2,763
development
14,889
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaAgentSchedule", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parame...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Copy-DbaInstanceAudit.Tests.ps1
PowerShell
mit
2,763
development
997
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Copy-DbaInstanceAudit", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected param...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Save-DbaCommunitySoftware.Tests.ps1
PowerShell
mit
2,763
development
895
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Save-DbaCommunitySoftware", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected p...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaSsisExecutionHistory.Tests.ps1
PowerShell
mit
2,763
development
1,158
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaSsisExecutionHistory", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/New-DbaAvailabilityGroup.Tests.ps1
PowerShell
mit
2,763
development
5,844
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-DbaAvailabilityGroup", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected pa...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaForceNetworkEncryption.Tests.ps1
PowerShell
mit
2,763
development
1,570
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaForceNetworkEncryption", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expect...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Remove-DbaDbMailAccount.Tests.ps1
PowerShell
mit
2,763
development
4,362
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaDbMailAccount", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected par...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaDbCompression.Tests.ps1
PowerShell
mit
2,763
development
4,311
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaDbCompression", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parame...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Test-DbaAgPolicyState.Tests.ps1
PowerShell
mit
2,763
development
9,190
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Test-DbaAgPolicyState", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parame...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Test-DbaLastBackup.Tests.ps1
PowerShell
mit
2,763
development
23,844
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Test-DbaLastBackup", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameter...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Add-DbaAgDatabase.Tests.ps1
PowerShell
mit
2,763
development
9,263
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Add-DbaAgDatabase", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameters...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Disable-DbaReplDistributor.Tests.ps1
PowerShell
mit
2,763
development
995
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Disable-DbaReplDistributor", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected ...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Install-DbaDarlingData.Tests.ps1
PowerShell
mit
2,763
development
5,257
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Install-DbaDarlingData", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected para...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Invoke-DbaDbccFreeCache.Tests.ps1
PowerShell
mit
2,763
development
3,303
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Invoke-DbaDbccFreeCache", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected par...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Watch-DbaXESession.Tests.ps1
PowerShell
mit
2,763
development
1,898
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Watch-DbaXESession", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected paramete...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaXEObject.Tests.ps1
PowerShell
mit
2,763
development
1,035
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaXEObject", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameters"...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Restore-DbaDbSnapshot.Tests.ps1
PowerShell
mit
2,763
development
6,197
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Restore-DbaDbSnapshot", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected param...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Remove-DbaAgListener.Tests.ps1
PowerShell
mit
2,763
development
2,667
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaAgListener", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parame...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Copy-DbaDataCollector.Tests.ps1
PowerShell
mit
2,763
development
1,025
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Copy-DbaDataCollector", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected param...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Set-DbaTcpPort.Tests.ps1
PowerShell
mit
2,763
development
3,648
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Set-DbaTcpPort", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameters" ...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Remove-DbaDbEncryptionKey.Tests.ps1
PowerShell
mit
2,763
development
3,300
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaDbEncryptionKey", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected p...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Remove-DbaRgResourcePool.Tests.ps1
PowerShell
mit
2,763
development
8,675
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaRgResourcePool", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected pa...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaConnection.Tests.ps1
PowerShell
mit
2,763
development
1,178
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaConnection", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameter...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/New-DbaLinkedServerLogin.Tests.ps1
PowerShell
mit
2,763
development
5,606
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-DbaLinkedServerLogin", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected pa...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Select-DbaBackupInformation.Tests.ps1
PowerShell
mit
2,763
development
16,933
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Select-DbaBackupInformation", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Select-DbaDbSequenceNextValue.Tests.ps1
PowerShell
mit
2,763
development
3,261
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Select-DbaDbSequenceNextValue", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expect...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Repair-DbaDbOrphanUser.Tests.ps1
PowerShell
mit
2,763
development
4,587
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Repair-DbaDbOrphanUser", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected para...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaNetworkEncryption.Tests.ps1
PowerShell
mit
2,763
development
10,341
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaNetworkEncryption", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected par...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaPbmObjectSet.Tests.ps1
PowerShell
mit
2,763
development
1,114
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaPbmObjectSet", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected paramet...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaDbView.Tests.ps1
PowerShell
mit
2,763
development
4,870
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaDbView", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameters" {...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/appveyor.SQL2017.ps1
PowerShell
mit
2,763
development
1,692
$indent = '...' Write-Host -Object "$indent Running $PSCommandPath" -ForegroundColor DarkGreen # This script spins up the 2017 instance and the relative setup $sqlinstance = "localhost\SQL2017" $instance = "SQL2017" $port = "14334" Write-Host -Object "$indent Changing the port on $instance to $port" -ForegroundColor...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaAgListener.Tests.ps1
PowerShell
mit
2,763
development
2,792
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaAgListener", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameter...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaDbFile.Tests.ps1
PowerShell
mit
2,763
development
3,408
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaDbFile", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameters" {...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Add-DbaPfDataCollectorCounter.Tests.ps1
PowerShell
mit
2,763
development
2,460
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Add-DbaPfDataCollectorCounter", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expect...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Move-DbaRegServer.Tests.ps1
PowerShell
mit
2,763
development
4,287
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Move-DbaRegServer", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameter...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Copy-DbaInstanceTrigger.Tests.ps1
PowerShell
mit
2,763
development
3,046
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Copy-DbaInstanceTrigger", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected par...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Disable-DbaStartupProcedure.Tests.ps1
PowerShell
mit
2,763
development
4,868
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Disable-DbaStartupProcedure", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Clear-DbaPlanCache.Tests.ps1
PowerShell
mit
2,763
development
1,636
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Clear-DbaPlanCache", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected paramete...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Test-DbaDiskAlignment.Tests.ps1
PowerShell
mit
2,763
development
1,418
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Test-DbaDiskAlignment", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected param...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaDbState.Tests.ps1
PowerShell
mit
2,763
development
7,920
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaDbState", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameters" ...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Install-DbaMaintenanceSolution.Tests.ps1
PowerShell
mit
2,763
development
69,933
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Install-DbaMaintenanceSolution", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expect...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaDependency.Tests.ps1
PowerShell
mit
2,763
development
7,601
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaDependency", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameter...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaMemoryCondition.Tests.ps1
PowerShell
mit
2,763
development
2,289
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaMemoryCondition", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected para...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Remove-DbaDbView.Tests.ps1
PowerShell
mit
2,763
development
3,179
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaDbView", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameters...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Remove-DbaXESession.Tests.ps1
PowerShell
mit
2,763
development
2,697
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaXESession", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected paramet...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/appveyor.SQL2019.ps1
PowerShell
mit
2,763
development
1,920
$indent = '...' Write-Host -Object "$indent Running $PSCommandPath" -ForegroundColor DarkGreen # This script spins up the 2019 instance and the relative setup $sqlinstance = "localhost\SQL2019" $instance = "SQL2019" $port = "14335" Write-Host -Object "$indent Changing the port on $instance to $port" -ForegroundColor...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Invoke-DbaDbShrink.Tests.ps1
PowerShell
mit
2,763
development
15,455
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Invoke-DbaDbShrink", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameter...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Copy-DbaXESession.Tests.ps1
PowerShell
mit
2,763
development
977
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Copy-DbaXESession", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameter...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Remove-DbaPfDataCollectorCounter.Tests.ps1
PowerShell
mit
2,763
development
2,319
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaPfDataCollectorCounter", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the exp...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaInstanceTrigger.Tests.ps1
PowerShell
mit
2,763
development
3,722
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaInstanceTrigger", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected para...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/New-DbaAgentAlertCategory.Tests.ps1
PowerShell
mit
2,763
development
2,767
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-DbaAgentAlertCategory", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected p...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaRegServerGroup.Tests.ps1
PowerShell
mit
2,763
development
6,249
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaRegServerGroup", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected param...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Compare-DbaAvailabilityGroup.Tests.ps1
PowerShell
mit
2,763
development
997
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Compare-DbaAvailabilityGroup", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expecte...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaPfDataCollector.Tests.ps1
PowerShell
mit
2,763
development
1,323
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaPfDataCollector", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected para...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Invoke-DbaXEReplay.Tests.ps1
PowerShell
mit
2,763
development
1,121
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Invoke-DbaXEReplay", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected paramete...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Remove-DbaServerRoleMember.Tests.ps1
PowerShell
mit
2,763
development
4,833
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaServerRoleMember", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected ...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaInstanceProperty.Tests.ps1
PowerShell
mit
2,763
development
2,926
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaInstanceProperty", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected par...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaCredential.Tests.ps1
PowerShell
mit
2,763
development
4,082
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaCredential", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameter...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/New-DbaCredential.Tests.ps1
PowerShell
mit
2,763
development
3,832
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-DbaCredential", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameter...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Remove-DbaExtendedProperty.Tests.ps1
PowerShell
mit
2,763
development
2,323
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaExtendedProperty", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected ...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Remove-DbaReplPublication.Tests.ps1
PowerShell
mit
2,763
development
1,122
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaReplPublication", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests -Skip:($PSVersionTable.PSVersion.Major -gt 5) { # Skip UnitTests on pwsh ...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Add-DbaRegServerGroup.Tests.ps1
PowerShell
mit
2,763
development
4,628
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Add-DbaRegServerGroup", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected param...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Find-DbaDbGrowthEvent.Tests.ps1
PowerShell
mit
2,763
development
3,532
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Find-DbaDbGrowthEvent", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected param...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaAgentAlertCategory.Tests.ps1
PowerShell
mit
2,763
development
2,120
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaAgentAlertCategory", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected p...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Set-DbaAgentAlert.Tests.ps1
PowerShell
mit
2,763
development
2,850
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Set-DbaAgentAlert", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameter...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Remove-DbaDbPartitionFunction.Tests.ps1
PowerShell
mit
2,763
development
3,263
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaDbPartitionFunction", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expect...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Remove-DbaDbCheckConstraint.Tests.ps1
PowerShell
mit
2,763
development
3,216
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaDbCheckConstraint", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/appveyor.sqlserver.ps1
PowerShell
mit
2,763
development
1,431
Write-Host -Object "appveyor.sqlserver: Setting up instances for scenario $($env:SCENARIO)" -ForegroundColor DarkGreen $instances = @( ) if ($env:InstanceSingle) { $instances += $env:InstanceSingle } if ($env:InstanceMulti1) { $instances += $env:InstanceMulti1 } if ($env:InstanceMulti2) { $instances += $env...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaDbTrigger.Tests.ps1
PowerShell
mit
2,763
development
3,732
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaDbTrigger", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameters...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/New-DbaConnectionString.Tests.ps1
PowerShell
mit
2,763
development
1,837
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-DbaConnectionString", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected par...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Export-DbaXESession.Tests.ps1
PowerShell
mit
2,763
development
4,367
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Export-DbaXESession", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected paramet...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaNetworkCertificate.Tests.ps1
PowerShell
mit
2,763
development
1,018
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaNetworkCertificate", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected p...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaDiskSpace.Tests.ps1
PowerShell
mit
2,763
development
1,668
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaDiskSpace", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameters...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaNetworkActivity.Tests.ps1
PowerShell
mit
2,763
development
1,073
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaNetworkActivity", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected para...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Test-DbaInstanceName.Tests.ps1
PowerShell
mit
2,763
development
1,706
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Test-DbaInstanceName", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parame...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Expand-DbaDbLogFile.Tests.ps1
PowerShell
mit
2,763
development
6,665
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Expand-DbaDbLogFile", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected paramete...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Join-DbaPath.Tests.ps1
PowerShell
mit
2,763
development
787
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Join-DbaPath", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameters" { ...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/New-DbaRgResourcePool.Tests.ps1
PowerShell
mit
2,763
development
7,583
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-DbaRgResourcePool", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected param...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/appveyor.post.ps1
PowerShell
mit
2,763
development
869
Add-AppveyorTest -Name "appveyor.post" -Framework NUnit -FileName "appveyor.post.ps1" -Outcome Running $sw = [system.diagnostics.stopwatch]::startNew() Write-Host -Object "appveyor.post: Sending coverage data" -ForeGroundColor DarkGreen $ProjectRoot = $env:APPVEYOR_BUILD_FOLDER $ModuleBase = $ProjectRoot $pester5Covera...