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/Invoke-DbaDbAzSqlTip.Tests.ps1
PowerShell
mit
2,763
development
2,346
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Invoke-DbaDbAzSqlTip", $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-DbaBuild.Tests.ps1
PowerShell
mit
2,763
development
4,127
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Test-DbaBuild", $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/Backup-DbaDbMasterKey.Tests.ps1
PowerShell
mit
2,763
development
4,851
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Backup-DbaDbMasterKey", $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-DbaMsdtc.Tests.ps1
PowerShell
mit
2,763
development
1,273
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaMsdtc", $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-DbaCustomError.Tests.ps1
PowerShell
mit
2,763
development
2,861
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaCustomError", $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/Start-DbaEndpoint.Tests.ps1
PowerShell
mit
2,763
development
2,244
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Start-DbaEndpoint", $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/Test-DbaBackupEncrypted.Tests.ps1
PowerShell
mit
2,763
development
3,608
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Test-DbaBackupEncrypted", $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/New-DbaDbAsymmetricKey.Tests.ps1
PowerShell
mit
2,763
development
8,694
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-DbaDbAsymmetricKey", $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-DbaConnectionStringBuilder.Tests.ps1
PowerShell
mit
2,763
development
8,539
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-DbaConnectionStringBuilder", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expec...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Find-DbaCommand.Tests.ps1
PowerShell
mit
2,763
development
2,221
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Find-DbaCommand", $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-DbaView.Tests.ps1
PowerShell
mit
2,763
development
3,683
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Find-DbaView", $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-DbaTraceFlag.Tests.ps1
PowerShell
mit
2,763
development
2,769
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Disable-DbaTraceFlag", $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/Convert-DbaLsn.Tests.ps1
PowerShell
mit
2,763
development
1,966
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Convert-DbaLSN", $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-DbaDbMirrorMonitor.Tests.ps1
PowerShell
mit
2,763
development
1,135
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaDbMirrorMonitor", $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-DbaSsisCatalog.Tests.ps1
PowerShell
mit
2,763
development
3,232
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-DbaSsisCatalog", $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/Copy-DbaAgentProxy.Tests.ps1
PowerShell
mit
2,763
development
3,906
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Copy-DbaAgentProxy", $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-DbaIoLatency.Tests.ps1
PowerShell
mit
2,763
development
1,084
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaIoLatency", $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/Test-DbaLinkedServerConnection.Tests.ps1
PowerShell
mit
2,763
development
4,063
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Test-DbaLinkedServerConnection", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expec...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/New-DbaReplCreationScriptOptions.Tests.ps1
PowerShell
mit
2,763
development
914
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-DbaReplCreationScriptOptions", $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-DbaSsisEnvironmentVariable.Tests.ps1
PowerShell
mit
2,763
development
2,490
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaSsisEnvironmentVariable", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expec...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaTrace.Tests.ps1
PowerShell
mit
2,763
development
3,089
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaTrace", $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/Export-DbaSpConfigure.Tests.ps1
PowerShell
mit
2,763
development
1,070
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Export-DbaSpConfigure", $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-DbaSpn.Tests.ps1
PowerShell
mit
2,763
development
1,061
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Set-DbaSpn", $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-DbaBinaryFileTable.Tests.ps1
PowerShell
mit
2,763
development
3,722
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaBinaryFileTable", $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-DbaExternalProcess.Tests.ps1
PowerShell
mit
2,763
development
3,677
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaExternalProcess", $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-DbaPbmCondition.Tests.ps1
PowerShell
mit
2,763
development
3,755
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaPbmCondition", $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-DbaDbPageInfo.Tests.ps1
PowerShell
mit
2,763
development
5,223
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaDbPageInfo", $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/Test-DbaNetworkCertificate.Tests.ps1
PowerShell
mit
2,763
development
5,745
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Test-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/Remove-DbaTrace.Tests.ps1
PowerShell
mit
2,763
development
5,006
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaTrace", $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-DbaRandomizedDatasetTemplate.Tests.ps1
PowerShell
mit
2,763
development
1,113
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaRandomizedDatasetTemplate", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the exp...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Read-DbaXEFile.Tests.ps1
PowerShell
mit
2,763
development
1,808
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Read-DbaXEFile", $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-DbaInstance.Tests.ps1
PowerShell
mit
2,763
development
21,414
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Install-DbaInstance", $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/Start-DbaXESession.Tests.ps1
PowerShell
mit
2,763
development
7,726
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Start-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/Read-DbaTransactionLog.Tests.ps1
PowerShell
mit
2,763
development
1,105
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Read-DbaTransactionLog", $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-DbaDatabase.Tests.ps1
PowerShell
mit
2,763
development
2,969
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Find-DbaDatabase", $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/Set-DbaTempDbConfig.Tests.ps1
PowerShell
mit
2,763
development
7,244
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Set-DbaTempDbConfig", $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-DbaDbMasterKey.Tests.ps1
PowerShell
mit
2,763
development
2,325
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaDbMasterKey", $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-DbaComputerCertificate.Tests.ps1
PowerShell
mit
2,763
development
2,323
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaComputerCertificate", $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-DbaReplArticle.Tests.ps1
PowerShell
mit
2,763
development
1,175
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaReplArticle", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests -Skip:($PSVersionTable.PSVersion.Major -gt 5) { # Skip UnitTests on pwsh beca...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Compare-DbaLogin.Tests.ps1
PowerShell
mit
2,763
development
4,630
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Compare-DbaLogin", $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-DbaReplSubscription.Tests.ps1
PowerShell
mit
2,763
development
5,233
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaReplSubscription", $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/Set-DbaDbFileGrowth.Tests.ps1
PowerShell
mit
2,763
development
3,050
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Set-DbaDbFileGrowth", $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-DbaWindowsLog.Tests.ps1
PowerShell
mit
2,763
development
1,289
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaWindowsLog", $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/Export-DbaInstance.Tests.ps1
PowerShell
mit
2,763
development
44,249
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Export-DbaInstance", $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-DbaDbccSessionBuffer.Tests.ps1
PowerShell
mit
2,763
development
4,030
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaDbccSessionBuffer", $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/Remove-DbaDbMirrorMonitor.Tests.ps1
PowerShell
mit
2,763
development
2,289
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaDbMirrorMonitor", $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/Install-DbaAgentAdminAlert.Tests.ps1
PowerShell
mit
2,763
development
3,529
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Install-DbaAgentAdminAlert", $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-DbaAgBackupHistory.Tests.ps1
PowerShell
mit
2,763
development
1,393
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaAgBackupHistory", $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/Enable-DbaTraceFlag.Tests.ps1
PowerShell
mit
2,763
development
2,473
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Enable-DbaTraceFlag", $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-DbaErrorLog.Tests.ps1
PowerShell
mit
2,763
development
6,166
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaErrorLog", $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/Resolve-DbaNetworkName.Tests.ps1
PowerShell
mit
2,763
development
4,384
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Resolve-DbaNetworkName", $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-DbaDbBackupRestoreHistory.Tests.ps1
PowerShell
mit
2,763
development
1,094
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaDbBackupRestoreHistory", $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-DbaAgHadr.Tests.ps1
PowerShell
mit
2,763
development
1,098
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaAgHadr", $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-DbaDbCertificate.Tests.ps1
PowerShell
mit
2,763
development
3,529
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-DbaDbCertificate", $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/Set-DbatoolsInsecureConnection.Tests.ps1
PowerShell
mit
2,763
development
1,783
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Set-DbatoolsInsecureConnection", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expec...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Set-DbaAgentJobCategory.Tests.ps1
PowerShell
mit
2,763
development
3,092
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Set-DbaAgentJobCategory", $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-DbaPfDataCollectorSetTemplate.Tests.ps1
PowerShell
mit
2,763
development
2,745
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Export-DbaPfDataCollectorSetTemplate", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaBackupInformation.Tests.ps1
PowerShell
mit
2,763
development
11,595
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaBackupInformation", $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-DbaLinkedServerLogin.Tests.ps1
PowerShell
mit
2,763
development
8,311
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-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/Get-DbaAgentJob.Tests.ps1
PowerShell
mit
2,763
development
8,071
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaAgentJob", $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-DbaAgentJobCategory.Tests.ps1
PowerShell
mit
2,763
development
2,812
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaAgentJobCategory", $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-DbaLastBackup.Tests.ps1
PowerShell
mit
2,763
development
7,038
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaLastBackup", $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/Stop-DbaXESession.Tests.ps1
PowerShell
mit
2,763
development
3,462
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Stop-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/Copy-DbaInstanceAuditSpecification.Tests.ps1
PowerShell
mit
2,763
development
1,012
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Copy-DbaInstanceAuditSpecification", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the e...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Compare-DbaAgReplicaAgentJob.Tests.ps1
PowerShell
mit
2,763
development
935
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Compare-DbaAgReplicaAgentJob", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expecte...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Test-DbaConnection.Tests.ps1
PowerShell
mit
2,763
development
1,395
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Test-DbaConnection", $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-DbaAgentJobOwner.Tests.ps1
PowerShell
mit
2,763
development
2,469
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Test-DbaAgentJobOwner", $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-ObjectNameParts.Tests.ps1
PowerShell
mit
2,763
development
3,196
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-ObjectNameParts", $PSDefaultParameterValues = $TestConfig.Defaults ) . "$PSScriptRoot\..\private\functions\Get-ObjectNameParts.ps1" Describe $CommandName -Tag UnitTests { Context 'Para...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Set-DbatoolsPath.Tests.ps1
PowerShell
mit
2,763
development
812
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Set-DbatoolsPath", $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/Stop-DbaEndpoint.Tests.ps1
PowerShell
mit
2,763
development
1,990
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Stop-DbaEndpoint", $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/Set-DbaNetworkConfiguration.Tests.ps1
PowerShell
mit
2,763
development
4,241
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Set-DbaNetworkConfiguration", $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-DbaFirewallRule.Tests.ps1
PowerShell
mit
2,763
development
9,848
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-DbaFirewallRule", $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/Copy-DbaExtendedStoredProcedure.Tests.ps1
PowerShell
mit
2,763
development
2,958
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Copy-DbaExtendedStoredProcedure", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expe...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Save-DbaKbUpdate.Tests.ps1
PowerShell
mit
2,763
development
4,644
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Save-DbaKbUpdate", $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/Set-DbaCmConnection.Tests.ps1
PowerShell
mit
2,763
development
1,741
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Set-DbaCmConnection", $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/Mount-DbaDatabase.Tests.ps1
PowerShell
mit
2,763
development
3,158
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Mount-DbaDatabase", $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-DbaDbLogShipping.Tests.ps1
PowerShell
mit
2,763
development
11,855
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaDbLogShipping", $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/appveyor.pester.ps1
PowerShell
mit
2,763
development
24,006
<# .SYNOPSIS This script will invoke Pester tests, then serialize XML results and pull them in appveyor.yml .DESCRIPTION Internal function that runs pester tests .PARAMETER Finalize If Finalize is specified, we collect XML output, upload tests, and indicate build errors .PARAMETER PSVersion The version of PS .PARAM...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/New-DbaDbTransfer.Tests.ps1
PowerShell
mit
2,763
development
13,344
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-DbaDbTransfer", $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-DbaReplDistributor.Tests.ps1
PowerShell
mit
2,763
development
1,162
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaReplDistributor", $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-DbatoolsRenameHelper.Tests.ps1
PowerShell
mit
2,763
development
2,758
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Invoke-DbatoolsRenameHelper", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Backup-DbaComputerCertificate.Tests.ps1
PowerShell
mit
2,763
development
3,250
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Backup-DbaComputerCertificate", $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-DbaAgentJobStep.Tests.ps1
PowerShell
mit
2,763
development
2,538
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaAgentJobStep", $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-DbaReplServer.Tests.ps1
PowerShell
mit
2,763
development
1,013
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaReplServer", $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-DbaDbDbccOpenTran.Tests.ps1
PowerShell
mit
2,763
development
2,341
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaDbDbccOpenTran", $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-DbaLatchStatistic.Tests.ps1
PowerShell
mit
2,763
development
1,472
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaLatchStatistic", $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-DbaAgentOperator.Tests.ps1
PowerShell
mit
2,763
development
2,643
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-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/Convert-DbaMaskingValue.Tests.ps1
PowerShell
mit
2,763
development
4,753
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Convert-DbaMaskingValue", $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/Read-DbaTraceFile.Tests.ps1
PowerShell
mit
2,763
development
3,316
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Read-DbaTraceFile", $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-DbaAgentJob.Tests.ps1
PowerShell
mit
2,763
development
8,088
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaAgentJob", $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/Copy-DbaDbQueryStoreOption.Tests.ps1
PowerShell
mit
2,763
development
5,603
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Copy-DbaDbQueryStoreOption", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected ...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Invoke-DbaDbCorruption.Tests.ps1
PowerShell
mit
2,763
development
4,451
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Invoke-DbaDbCorruption", $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-DbaConnectedInstance.Tests.ps1
PowerShell
mit
2,763
development
753
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaConnectedInstance", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { # fake tests, no parameters to ...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Copy-DbaSpConfigure.Tests.ps1
PowerShell
mit
2,763
development
3,299
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Copy-DbaSpConfigure", $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-DbatoolsConfig.Tests.ps1
PowerShell
mit
2,763
development
1,184
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Export-DbatoolsConfig", $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/New-DbaRgWorkloadGroup.Tests.ps1
PowerShell
mit
2,763
development
8,227
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-DbaRgWorkloadGroup", $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-DbaWaitStatistic.Tests.ps1
PowerShell
mit
2,763
development
4,092
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaWaitStatistic", $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-DbaSysDbUserObject.Tests.ps1
PowerShell
mit
2,763
development
7,344
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Export-DbaSysDbUserObject", $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/Clear-DbaWaitStatistics.Tests.ps1
PowerShell
mit
2,763
development
1,420
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Clear-DbaWaitStatistics", $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/New-DbaAgentSchedule.Tests.ps1
PowerShell
mit
2,763
development
15,236
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-DbaAgentSchedule", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parame...