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/New-DbaScriptingOption.Tests.ps1 | PowerShell | mit | 2,763 | development | 874 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "New-DbaScriptingOption",
$PSDefaultParameterValues = $TestConfig.Defaults
)
Describe $CommandName -Tag UnitTests {
Context "Parameter validation" {
It -Skip "Should have the expecte... |
github | dataplat/dbatools | https://github.com/dataplat/dbatools | tests/New-DbaServerRole.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,162 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "New-DbaServerRole",
$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-DbaNetworkLatency.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,112 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Test-DbaNetworkLatency",
$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-DbaServerRole.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,309 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaServerRole",
$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-DbaReplArticleColumn.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,042 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaReplArticleColumn",
$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/Invoke-DbaDbDataMasking.Tests.ps1 | PowerShell | mit | 2,763 | development | 17,896 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Invoke-DbaDbDataMasking",
$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-DbaWsfcDisk.Tests.ps1 | PowerShell | mit | 2,763 | development | 807 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaWsfcDisk",
$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-DbaStartupParameter.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,121 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Set-DbaStartupParameter",
$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/Add-DbaInstanceList.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,929 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Add-DbaInstanceList",
$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-DbaDefaultPath.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,512 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaDefaultPath",
$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/Export-DbaXESessionTemplate.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,185 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Export-DbaXESessionTemplate",
$PSDefaultParameterValues = $TestConfig.Defaults
)
Describe $CommandName -Tag UnitTests {
Context "Parameter validation" {
It "Should have the expected... |
github | dataplat/dbatools | https://github.com/dataplat/dbatools | tests/Copy-DbaDbAssembly.Tests.ps1 | PowerShell | mit | 2,763 | development | 12,837 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Copy-DbaDbAssembly",
$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/Measure-DbaDbVirtualLogFile.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,276 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Measure-DbaDbVirtualLogFile",
$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-DbaDbTable.Tests.ps1 | PowerShell | mit | 2,763 | development | 13,157 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "New-DbaDbTable",
$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-DbaBuild.Tests.ps1 | PowerShell | mit | 2,763 | development | 12,042 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-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/Export-DbaScript.Tests.ps1 | PowerShell | mit | 2,763 | development | 6,396 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Export-DbaScript",
$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-DbaDbMemoryUsage.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,893 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaDbMemoryUsage",
$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-DbaAgReplica.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,648 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaAgReplica",
$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-DbaComputerCertificate.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,994 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Remove-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/Test-DbaDiskSpeed.Tests.ps1 | PowerShell | mit | 2,763 | development | 20,262 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Test-DbaDiskSpeed",
$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-DbaServerRole.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,532 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Remove-DbaServerRole",
$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-DbaPfAvailableCounter.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,258 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaPfAvailableCounter",
$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/Test-DbaMaxDop.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,802 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Test-DbaMaxDop",
$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-DbaDbQueryStoreOption.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,084 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaDbQueryStoreOption",
$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/Test-DbaReplLatency.Tests.ps1 | PowerShell | mit | 2,763 | development | 976 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Test-DbaReplLatency",
$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-SqlDefaultSpConfigure.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,003 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-SqlDefaultSpConfigure",
$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-DbaDbFileGrowth.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,471 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-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-DbaSpConfigure.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,229 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaSpConfigure",
$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/Backup-DbaDbCertificate.Tests.ps1 | PowerShell | mit | 2,763 | development | 6,998 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Backup-DbaDbCertificate",
$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-DbaSpn.Tests.ps1 | PowerShell | mit | 2,763 | development | 834 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-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/Import-DbaCsv.Tests.ps1 | PowerShell | mit | 2,763 | development | 54,556 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Import-DbaCsv",
$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-DbaFile.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,585 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaFile",
$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/Enable-DbaAgHadr.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,956 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Enable-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-DbaReplSubscription.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,185 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "New-DbaReplSubscription",
$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-DbaDacOption.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,687 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "New-DbaDacOption",
$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-DbaRgWorkloadGroup.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,049 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-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/Test-DbaPath.Tests.ps1 | PowerShell | mit | 2,763 | development | 5,233 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Test-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/Set-DbaAgentServer.Tests.ps1 | PowerShell | mit | 2,763 | development | 15,248 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Set-DbaAgentServer",
$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/Find-DbaAgentJob.Tests.ps1 | PowerShell | mit | 2,763 | development | 6,800 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Find-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/Test-DbaComputerCertificateExpiration.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,920 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Test-DbaComputerCertificateExpiration",
$PSDefaultParameterValues = $TestConfig.Defaults
)
Describe $CommandName -Tag UnitTests {
Context "Parameter validation" {
It "Should have th... |
github | dataplat/dbatools | https://github.com/dataplat/dbatools | tests/Remove-DbaDbMasterKey.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,134 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Remove-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/New-DbaDbMasterKey.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,145 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "New-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-DbaPbmStore.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,011 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaPbmStore",
$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-DbaErrorLogConfig.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,515 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaErrorLogConfig",
$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/Stop-DbaAgentJob.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,341 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Stop-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/Find-DbaTrigger.Tests.ps1 | PowerShell | mit | 2,763 | development | 6,175 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Find-DbaTrigger",
$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-DbaReplArticle.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,033 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaReplArticle",
$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-DbaAvailabilityGroup.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,866 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-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/Compare-DbaAgReplicaOperator.Tests.ps1 | PowerShell | mit | 2,763 | development | 860 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Compare-DbaAgReplicaOperator",
$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-DbaPrivilege.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,208 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaPrivilege",
$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-DbaDbSynonym.Tests.ps1 | PowerShell | mit | 2,763 | development | 9,207 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Remove-DbaDbSynonym",
$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-DbaDbSnapshot.Tests.ps1 | PowerShell | mit | 2,763 | development | 5,499 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaDbSnapshot",
$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/Start-DbaService.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,087 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Start-DbaService",
$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-DbaDbSnapshot.Tests.ps1 | PowerShell | mit | 2,763 | development | 6,892 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "New-DbaDbSnapshot",
$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-DbaDbMailProfile.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,543 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Remove-DbaDbMailProfile",
$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-DbaEndpoint.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,460 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-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/Stop-DbaProcess.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,009 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Stop-DbaProcess",
$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-DbaInstanceList.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,654 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Remove-DbaInstanceList",
$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-DbaFilestream.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,568 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Enable-DbaFilestream",
$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-DbaUserPermission.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,834 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaUserPermission",
$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-DbaAgentJobCategory.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,926 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "New-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/Move-DbaRegServerGroup.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,200 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Move-DbaRegServerGroup",
$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-DbaAgentJobSchedule.Tests.ps1 | PowerShell | mit | 2,763 | development | 9,898 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Remove-DbaAgentJobSchedule",
$PSDefaultParameterValues = $TestConfig.Defaults
)
class MockAgentServer {
[string]$Name
[string]$ComputerName
[string]$ServiceName
[string]$DomainIn... |
github | dataplat/dbatools | https://github.com/dataplat/dbatools | tests/Get-DbaCmConnection.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,536 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-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/Remove-DbaDbSnapshot.Tests.ps1 | PowerShell | mit | 2,763 | development | 5,247 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Remove-DbaDbSnapshot",
$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-DbatoolsConfig.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,113 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbatoolsConfig",
$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-DbaDatabase.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,911 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Remove-DbaDatabase",
$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-DbaInstanceUserOption.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,403 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaInstanceUserOption",
$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/Export-DbaDacPackage.Tests.ps1 | PowerShell | mit | 2,763 | development | 10,252 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Export-DbaDacPackage",
$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/Resolve-DbaPath.Tests.ps1 | PowerShell | mit | 2,763 | development | 820 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Resolve-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/Get-DbaDbRole.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,623 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaDbRole",
$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/Show-DbaInstanceFileSystem.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,022 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Show-DbaInstanceFileSystem",
$PSDefaultParameterValues = $TestConfig.Defaults
)
Describe $CommandName -Tag UnitTests {
Context "Parameter validation" {
It "Should have the expected ... |
github | dataplat/dbatools | https://github.com/dataplat/dbatools | tests/Test-DbaManagementObject.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,815 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Test-DbaManagementObject",
$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-DbaInstanceAuditSpecification.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,030 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaInstanceAuditSpecification",
$PSDefaultParameterValues = $TestConfig.Defaults
)
Describe $CommandName -Tag UnitTests {
Context "Parameter validation" {
It "Should have the ex... |
github | dataplat/dbatools | https://github.com/dataplat/dbatools | tests/Get-DbaDatabase.Tests.ps1 | PowerShell | mit | 2,763 | development | 10,190 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-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/Test-DbaDbDataMaskingConfig.Tests.ps1 | PowerShell | mit | 2,763 | development | 5,818 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Test-DbaDbDataMaskingConfig",
$PSDefaultParameterValues = $TestConfig.Defaults
)
Describe $CommandName -Tag UnitTests {
Context "Parameter validation" {
It "Should have the expected... |
github | dataplat/dbatools | https://github.com/dataplat/dbatools | tests/Add-DbaDbFile.Tests.ps1 | PowerShell | mit | 2,763 | development | 5,554 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Add-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/Remove-DbaDbRole.Tests.ps1 | PowerShell | mit | 2,763 | development | 9,671 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Remove-DbaDbRole",
$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-DbaAgentJobStep.Tests.ps1 | PowerShell | mit | 2,763 | development | 28,532 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Set-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/Remove-DbaDatabaseSafely.Tests.ps1 | PowerShell | mit | 2,763 | development | 4,063 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Remove-DbaDatabaseSafely",
$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-DbaNetworkConfiguration.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,114 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-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/Compare-DbaAgReplicaSync.Tests.ps1 | PowerShell | mit | 2,763 | development | 883 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Compare-DbaAgReplicaSync",
$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/Set-DbaPowerPlan.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,152 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Set-DbaPowerPlan",
$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-DbaKerberos.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,439 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Test-DbaKerberos",
$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-DbaMaxMemory.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,847 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Set-DbaMaxMemory",
$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-DbaLoginInGroup.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,031 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Find-DbaLoginInGroup",
$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-DbaStartupParameter.Tests.ps1 | PowerShell | mit | 2,763 | development | 4,090 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaStartupParameter",
$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/Export-DbaUser.Tests.ps1 | PowerShell | mit | 2,763 | development | 16,105 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Export-DbaUser",
$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/Repair-DbaDbMirror.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,073 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Repair-DbaDbMirror",
$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-DirectoryRestoreFile.Tests.ps1 | PowerShell | mit | 2,763 | development | 4,170 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DirectoryRestoreFile",
$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/Join-DbaAvailabilityGroup.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,099 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Join-DbaAvailabilityGroup",
$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/Disable-DbaHideInstance.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,936 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Disable-DbaHideInstance",
$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/Remove-DbaDbAsymmetricKey.Tests.ps1 | PowerShell | mit | 2,763 | development | 4,114 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Remove-DbaDbAsymmetricKey",
$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/Import-DbaBinaryFile.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,108 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Import-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/Restart-DbaService.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,043 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Restart-DbaService",
$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-DbaEndpoint.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,796 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Remove-DbaEndpoint",
$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-DbaPfDataCollectorSetTemplate.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,611 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaPfDataCollectorSetTemplate",
$PSDefaultParameterValues = $TestConfig.Defaults
)
Describe $CommandName -Tag UnitTests {
Context "Parameter validation" {
It "Should have the ex... |
github | dataplat/dbatools | https://github.com/dataplat/dbatools | tests/Add-DbaAgReplica.Tests.ps1 | PowerShell | mit | 2,763 | development | 5,320 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Add-DbaAgReplica",
$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/Invoke-DbaDbPiiScan.Tests.ps1 | PowerShell | mit | 2,763 | development | 24,031 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Invoke-DbaDbPiiScan",
$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/Set-DbaLogin.Tests.ps1 | PowerShell | mit | 2,763 | development | 17,028 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Set-DbaLogin",
$PSDefaultParameterValues = $TestConfig.Defaults
)
Describe $CommandName -Tag UnitTests {
Context "Parameter validation" {
It "Should have the expected parameters" {
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.