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-DbaDbRole.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,181 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "New-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/Remove-DbaCredential.Tests.ps1 | PowerShell | mit | 2,763 | development | 6,809 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Remove-DbaCredential",
$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/Export-DbaLinkedServer.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,229 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Export-DbaLinkedServer",
$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-DbaLastGoodCheckDb.Tests.ps1 | PowerShell | mit | 2,763 | development | 4,427 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaLastGoodCheckDb",
$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-DbaDbccUserOption.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,378 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaDbccUserOption",
$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/Rename-DbaLogin.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,271 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Rename-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/Copy-DbaAgentJobCategory.Tests.ps1 | PowerShell | mit | 2,763 | development | 4,083 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Copy-DbaAgentJobCategory",
$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-DbaWsfcRole.Tests.ps1 | PowerShell | mit | 2,763 | development | 807 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaWsfcRole",
$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-DbaLogin.Tests.ps1 | PowerShell | mit | 2,763 | development | 11,539 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-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/appveyor.SQL2022.ps1 | PowerShell | mit | 2,763 | development | 1,920 | $indent = '...'
Write-Host -Object "$indent Running $PSCommandPath" -ForegroundColor DarkGreen
# This script spins up the 2022 instance and the relative setup
$sqlinstance = "localhost\SQL2022"
$instance = "SQL2022"
$port = "14336"
Write-Host -Object "$indent Changing the port on $instance to $port" -ForegroundColor... |
github | dataplat/dbatools | https://github.com/dataplat/dbatools | tests/Remove-DbaDbSequence.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,906 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Remove-DbaDbSequence",
$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/ConvertTo-DbaXESession.Tests.ps1 | PowerShell | mit | 2,763 | development | 6,352 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "ConvertTo-DbaXESession",
$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-DbaExtendedProtection.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,052 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaExtendedProtection",
$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/Copy-DbaAgentAlert.Tests.ps1 | PowerShell | mit | 2,763 | development | 5,434 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Copy-DbaAgentAlert",
$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/New-DbaDbSchema.Tests.ps1 | PowerShell | mit | 2,763 | development | 5,107 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "New-DbaDbSchema",
$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-DbaXESessionTargetFile.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,288 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaXESessionTargetFile",
$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-DbaDbSequence.Tests.ps1 | PowerShell | mit | 2,763 | development | 10,944 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "New-DbaDbSequence",
$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-DbaDbServiceBrokerQueue.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,962 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaDbServiceBrokerQueue",
$PSDefaultParameterValues = $TestConfig.Defaults
)
Describe $CommandName -Tag UnitTests {
Context "Parameter validation" {
It "Should have the expected... |
github | dataplat/dbatools | https://github.com/dataplat/dbatools | tests/Set-DbaDbMirror.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,180 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Set-DbaDbMirror",
$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-DbaDbSequence.Tests.ps1 | PowerShell | mit | 2,763 | development | 5,511 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaDbSequence",
$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/Update-DbaServiceAccount.Tests.ps1 | PowerShell | mit | 2,763 | development | 8,131 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Update-DbaServiceAccount",
$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-DbaRgClassifierFunction.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,545 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaRgClassifierFunction",
$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-DbaLogin.Tests.ps1 | PowerShell | mit | 2,763 | development | 4,508 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Remove-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/Test-DbaConnectionAuthScheme.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,352 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Test-DbaConnectionAuthScheme",
$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-DbaClientAlias.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,285 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaClientAlias",
$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/Update-DbaInstance.Tests.ps1 | PowerShell | mit | 2,763 | development | 51,686 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Update-DbaInstance",
$PSDefaultParameterValues = $TestConfig.Defaults
)
# TODO: This test needs a lot of care
$exeDir = "C:\Temp\dbatools_$CommandName"
Describe -skip $CommandName -Tag UnitTes... |
github | dataplat/dbatools | https://github.com/dataplat/dbatools | tests/Remove-DbaFirewallRule.Tests.ps1 | PowerShell | mit | 2,763 | development | 936 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Remove-DbaFirewallRule",
$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-DbaDbFeatureUsage.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,080 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaDbFeatureUsage",
$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/Install-DbaSqlWatch.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,590 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Install-DbaSqlWatch",
$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/Enable-DbaHideInstance.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,565 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Enable-DbaHideInstance",
$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-DbaDbVirtualLogFile.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,104 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaDbVirtualLogFile",
$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-DbaDbCompression.Tests.ps1 | PowerShell | mit | 2,763 | development | 12,776 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Set-DbaDbCompression",
$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/Stop-DbaExternalProcess.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,788 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Stop-DbaExternalProcess",
$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/Invoke-DbaDbDataGenerator.Tests.ps1 | PowerShell | mit | 2,763 | development | 4,155 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Invoke-DbaDbDataGenerator",
$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-PSRemoting.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,603 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Test-PSRemoting",
$PSDefaultParameterValues = $TestConfig.Defaults
)
. "$PSScriptRoot\..\private\functions\Test-PSRemoting.ps1"
Describe $CommandName -Tag UnitTests {
Context "Parameter val... |
github | dataplat/dbatools | https://github.com/dataplat/dbatools | tests/Stop-Function.Tests.ps1 | PowerShell | mit | 2,763 | development | 11,790 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Stop-Function",
$PSDefaultParameterValues = $TestConfig.Defaults
)
Describe $CommandName -Tag UnitTests {
BeforeAll {
$PSDefaultParameterValues.Remove("*:WarningAction")
}
... |
github | dataplat/dbatools | https://github.com/dataplat/dbatools | tests/Set-DbaDbDataClassification.Tests.ps1 | PowerShell | mit | 2,763 | development | 5,031 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Set-DbaDbDataClassification",
$PSDefaultParameterValues = $TestConfig.Defaults
)
Describe $CommandName -Tag UnitTests {
Context "Parameter validation" {
It "Should have the expected... |
github | dataplat/dbatools | https://github.com/dataplat/dbatools | tests/Set-DbaAgentSchedule.Tests.ps1 | PowerShell | mit | 2,763 | development | 15,840 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Set-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/Get-DbaClientProtocol.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,271 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaClientProtocol",
$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-DbaDump.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,643 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaDump",
$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-DbaAgentAlert.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,198 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-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/New-DbaAgentAlert.Tests.ps1 | PowerShell | mit | 2,763 | development | 4,955 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "New-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/New-DbaCustomError.Tests.ps1 | PowerShell | mit | 2,763 | development | 7,083 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "New-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/Remove-DbaCustomError.Tests.ps1 | PowerShell | mit | 2,763 | development | 8,723 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Remove-DbaCustomError",
$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/Export-DbaDiagnosticQuery.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,627 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Export-DbaDiagnosticQuery",
$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-DbaAgentLog.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,487 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaAgentLog",
$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-DbaRegServer.Tests.ps1 | PowerShell | mit | 2,763 | development | 4,822 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Import-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/Get-DbaDbMail.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,488 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaDbMail",
$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-DbaAgentAlert.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,045 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Remove-DbaAgentAlert",
$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/Publish-DbaDacPackage.Tests.ps1 | PowerShell | mit | 2,763 | development | 8,864 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Publish-DbaDacPackage",
$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/Export-DbaServerRole.Tests.ps1 | PowerShell | mit | 2,763 | development | 5,385 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Export-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/Invoke-DbaAgFailover.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,088 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Invoke-DbaAgFailover",
$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/Remove-DbaDbDataClassification.Tests.ps1 | PowerShell | mit | 2,763 | development | 4,277 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Remove-DbaDbDataClassification",
$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-DbaRandomizedValue.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,932 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaRandomizedValue",
$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/Compare-DbaDbSchema.Tests.ps1 | PowerShell | mit | 2,763 | development | 13,131 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Compare-DbaDbSchema",
$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-DbatoolsError.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,147 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbatoolsError",
$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-DbaDbAsymmetricKey.Tests.ps1 | PowerShell | mit | 2,763 | development | 4,805 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-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/Copy-DbaCredential.Tests.ps1 | PowerShell | mit | 2,763 | development | 7,783 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Copy-DbaCredential",
$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-DbaDbQueryStoreOption.Tests.ps1 | PowerShell | mit | 2,763 | development | 4,942 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Set-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/Find-DbaBackup.Tests.ps1 | PowerShell | mit | 2,763 | development | 8,896 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Find-DbaBackup",
$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-DbaXESessionTemplate.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,308 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Import-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/Get-DbaDbMailAccount.Tests.ps1 | PowerShell | mit | 2,763 | development | 4,843 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaDbMailAccount",
$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/Import-DbaPfDataCollectorSetTemplate.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,137 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Import-DbaPfDataCollectorSetTemplate",
$PSDefaultParameterValues = $TestConfig.Defaults
)
Describe $CommandName -Tag UnitTests {
Context "Parameter validation" {
It "Should have the... |
github | dataplat/dbatools | https://github.com/dataplat/dbatools | tests/Move-DbaDbFile.Tests.ps1 | PowerShell | mit | 2,763 | development | 11,293 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Move-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/Test-DbaSpn.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,451 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Test-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/Remove-DbaAgentSchedule.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,779 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Remove-DbaAgentSchedule",
$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/Show-DbaDbList.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,091 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Show-DbaDbList",
$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-DbaPermission.Tests.ps1 | PowerShell | mit | 2,763 | development | 8,708 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaPermission",
$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/Invoke-DbaCycleErrorLog.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,558 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Invoke-DbaCycleErrorLog",
$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-DbaDbSynonym.Tests.ps1 | PowerShell | mit | 2,763 | development | 5,577 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaDbSynonym",
$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-DbaForceNetworkEncryption.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,904 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Enable-DbaForceNetworkEncryption",
$PSDefaultParameterValues = $TestConfig.Defaults
)
Describe $CommandName -Tag UnitTests {
Context "Parameter validation" {
It "Should have the exp... |
github | dataplat/dbatools | https://github.com/dataplat/dbatools | tests/New-DbaAgentJob.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,316 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "New-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/Compare-DbaAgReplicaCredential.Tests.ps1 | PowerShell | mit | 2,763 | development | 862 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Compare-DbaAgReplicaCredential",
$PSDefaultParameterValues = $TestConfig.Defaults
)
Describe $CommandName -Tag UnitTests {
Context "Parameter validation" {
It "Should have the expec... |
github | dataplat/dbatools | https://github.com/dataplat/dbatools | tests/Remove-DbaSpn.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,032 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Remove-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-DbaDbSpace.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,809 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaDbSpace",
$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-DbaDbSequence.Tests.ps1 | PowerShell | mit | 2,763 | development | 6,677 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Set-DbaDbSequence",
$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/Find-DbaDbDuplicateIndex.Tests.ps1 | PowerShell | mit | 2,763 | development | 4,047 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Find-DbaDbDuplicateIndex",
$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-DbaDbLogSpace.Tests.ps1 | PowerShell | mit | 2,763 | development | 4,926 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaDbLogSpace",
$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-DbaCustomError.Tests.ps1 | PowerShell | mit | 2,763 | development | 4,298 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Copy-DbaCustomError",
$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/Test-DbaDbDataGeneratorConfig.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,699 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Test-DbaDbDataGeneratorConfig",
$PSDefaultParameterValues = $TestConfig.Defaults
)
Describe $CommandName -Tag UnitTests {
Context "Parameter validation" {
It "Should have the expect... |
github | dataplat/dbatools | https://github.com/dataplat/dbatools | tests/New-DbaDbUser.Tests.ps1 | PowerShell | mit | 2,763 | development | 7,090 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "New-DbaDbUser",
$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-DbatoolsImport.Tests.ps1 | PowerShell | mit | 2,763 | development | 875 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Measure-DbatoolsImport",
$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/Get-DbaDbccProcCache.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,619 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaDbccProcCache",
$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-DbaAgentOperator.Tests.ps1 | PowerShell | mit | 2,763 | development | 4,184 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Copy-DbaAgentOperator",
$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/Copy-DbaEndpoint.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,259 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Copy-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/Invoke-DbaDbLogShipRecovery.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,162 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Invoke-DbaDbLogShipRecovery",
$PSDefaultParameterValues = $TestConfig.Defaults
)
Describe $CommandName -Tag UnitTests {
Context "Parameter validation" {
It "Should have the expected... |
github | dataplat/dbatools | https://github.com/dataplat/dbatools | tests/Resume-DbaAgDbDataMovement.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,673 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Resume-DbaAgDbDataMovement",
$PSDefaultParameterValues = $TestConfig.Defaults
)
Describe $CommandName -Tag UnitTests {
Context "Parameter validation" {
It "Should have the expected ... |
github | dataplat/dbatools | https://github.com/dataplat/dbatools | tests/Grant-DbaAgPermission.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,913 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Grant-DbaAgPermission",
$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-DbaDacPackage.Tests.ps1 | PowerShell | mit | 2,763 | development | 9,247 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "New-DbaDacPackage",
$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-DbaTempdbUsage.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,014 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaTempdbUsage",
$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-DbaPfDataCollectorSet.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,999 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Start-DbaPfDataCollectorSet",
$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-DbaWaitResource.Tests.ps1 | PowerShell | mit | 2,763 | development | 6,042 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaWaitResource",
$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-DbaDbMailConfig.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,998 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaDbMailConfig",
$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-DbaEndpoint.Tests.ps1 | PowerShell | mit | 2,763 | development | 949 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Set-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/Get-DbaInstanceList.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,302 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-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/Revoke-DbaAgPermission.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,864 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Revoke-DbaAgPermission",
$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-DbaReplPublisher.Tests.ps1 | PowerShell | mit | 2,763 | development | 926 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaReplPublisher",
$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/Reset-DbaAdmin.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,577 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Reset-DbaAdmin",
$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-TlsWebRequest.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,245 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Invoke-TlsWebRequest",
$PSDefaultParameterValues = $TestConfig.Defaults
)
Describe $CommandName -Tag UnitTests {
InModuleScope dbatools {
BeforeAll {
if (-not ("InvokeTls... |
github | dataplat/dbatools | https://github.com/dataplat/dbatools | tests/Find-DbaSimilarTable.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,254 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Find-DbaSimilarTable",
$PSDefaultParameterValues = $TestConfig.Defaults
)
Describe $CommandName -Tag UnitTests {
Context "Parameter validation" {
It "Should have the expected parame... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.