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/Update-DbaBuildReference.Tests.ps1 | PowerShell | mit | 2,763 | development | 784 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Update-DbaBuildReference",
$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/New-DbaDirectory.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,036 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "New-DbaDirectory",
$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-DbaDbUser.Tests.ps1 | PowerShell | mit | 2,763 | development | 4,752 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-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/Get-DbaAgentServer.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,101 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-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/Select-DbaObject.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,779 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Select-DbaObject",
$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-DbaDbMirror.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,073 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Remove-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/Enable-DbaReplPublishing.Tests.ps1 | PowerShell | mit | 2,763 | development | 888 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Enable-DbaReplPublishing",
$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-DbaCmObject.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,217 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaCmObject",
$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-DbaAgSpn.Tests.ps1 | PowerShell | mit | 2,763 | development | 934 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Test-DbaAgSpn",
$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/Suspend-DbaAgDbDataMovement.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,898 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Suspend-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/Stop-DbaService.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,395 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Stop-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/Get-DbaXESession.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,344 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaXESession",
$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-DbaLinkedServerLogin.Tests.ps1 | PowerShell | mit | 2,763 | development | 8,480 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Remove-DbaLinkedServerLogin",
$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-DbaAgentJobStep.Tests.ps1 | PowerShell | mit | 2,763 | development | 8,061 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "New-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/Invoke-DbaDbMirroring.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,420 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Invoke-DbaDbMirroring",
$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/Invoke-DbaPfRelog.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,419 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Invoke-DbaPfRelog",
$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-DbaReplSubscription.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,119 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Remove-DbaReplSubscription",
$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-DbaReplArticle.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,101 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Add-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-DbaDbEncryptionKey.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,972 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaDbEncryptionKey",
$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-DbaExtendedProtection.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,585 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Set-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/Stop-DbaTrace.Tests.ps1 | PowerShell | mit | 2,763 | development | 6,759 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Stop-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/Set-DbaAgReplica.Tests.ps1 | PowerShell | mit | 2,763 | development | 5,472 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Set-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/Sync-DbaLoginPassword.Tests.ps1 | PowerShell | mit | 2,763 | development | 8,556 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Sync-DbaLoginPassword",
$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-DbaCpuRingBuffer.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,313 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaCpuRingBuffer",
$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-DbaSpConfigure.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,748 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Set-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/Get-DbaTcpPort.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,109 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaTcpPort",
$PSDefaultParameterValues = $TestConfig.Defaults
)
Describe $CommandName -Tag UnitTests {
Context "Parameter validation" {
It "Should have the expected parameters" ... |
github | dataplat/dbatools | https://github.com/dataplat/dbatools | tests/Get-DbaXEStore.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,010 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaXEStore",
$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-DbaEstimatedCompletionTime.Tests.ps1 | PowerShell | mit | 2,763 | development | 5,066 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaEstimatedCompletionTime",
$PSDefaultParameterValues = $TestConfig.Defaults
)
Describe $CommandName -Tag UnitTests {
Context "Parameter validation" {
It "Should have the expec... |
github | dataplat/dbatools | https://github.com/dataplat/dbatools | tests/Export-DbaCredential.Tests.ps1 | PowerShell | mit | 2,763 | development | 9,063 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Export-DbaCredential",
$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-DbaInstanceAudit.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,156 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaInstanceAudit",
$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-DbaAgentSchedule.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,273 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Copy-DbaAgentSchedule",
$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/Test-DbaMaxMemory.Tests.ps1 | PowerShell | mit | 2,763 | development | 7,636 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Test-DbaMaxMemory",
$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-DbaAvailabilityGroup.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,052 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Test-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/Get-DbaSchemaChangeHistory.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,836 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaSchemaChangeHistory",
$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-DecryptedObject.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,710 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DecryptedObject",
$PSDefaultParameterValues = $TestConfig.Defaults
)
Describe $CommandName -Tag UnitTests {
Context "Error handling" {
It "Should route password query failures th... |
github | dataplat/dbatools | https://github.com/dataplat/dbatools | tests/Unregister-DbatoolsConfig.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,041 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Unregister-DbatoolsConfig",
$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-DbaServerRole.Tests.ps1 | PowerShell | mit | 2,763 | development | 4,416 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Copy-DbaServerRole",
$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/Invoke-DbaDbDbccUpdateUsage.Tests.ps1 | PowerShell | mit | 2,763 | development | 4,974 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Invoke-DbaDbDbccUpdateUsage",
$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-DbaQuery.Tests.ps1 | PowerShell | mit | 2,763 | development | 20,985 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Invoke-DbaQuery",
$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/Sync-DbaLoginPermission.Tests.ps1 | PowerShell | mit | 2,763 | development | 5,012 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Sync-DbaLoginPermission",
$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-DbaDbMailLog.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,916 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaDbMailLog",
$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-DbaInstanceName.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,070 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Repair-DbaInstanceName",
$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-DbatoolsSupportPackage.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,039 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "New-DbatoolsSupportPackage",
$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-DbaExecutionPlan.Tests.ps1 | PowerShell | mit | 2,763 | development | 4,031 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaExecutionPlan",
$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-DbaDbCompatibility.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,462 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Set-DbaDbCompatibility",
$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-DbaNetworkCertificate.Tests.ps1 | PowerShell | mit | 2,763 | development | 6,524 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Set-DbaNetworkCertificate",
$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-DbaDbAssembly.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,830 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaDbAssembly",
$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-DbaDbccHelp.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,193 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaDbccHelp",
$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-DbaDbMirror.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,530 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-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/Sync-DbaAvailabilityGroup.Tests.ps1 | PowerShell | mit | 2,763 | development | 10,912 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Sync-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/Test-DbaLsnChain.Tests.ps1 | PowerShell | mit | 2,763 | development | 7,726 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Test-DbaLsnChain",
$PSDefaultParameterValues = $TestConfig.Defaults
)
Describe $CommandName -Tag UnitTests {
InModuleScope dbatools {
Context "Parameter validation" {
It ... |
github | dataplat/dbatools | https://github.com/dataplat/dbatools | tests/Get-XpDirTreeRestoreFile.Tests.ps1 | PowerShell | mit | 2,763 | development | 8,761 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-XpDirTreeRestoreFile",
$PSDefaultParameterValues = $TestConfig.Defaults
)
Describe $CommandName -Tag UnitTests {
InModuleScope dbatools {
BeforeAll {
#mock Connect-D... |
github | dataplat/dbatools | https://github.com/dataplat/dbatools | tests/Set-DbaDbState.Tests.ps1 | PowerShell | mit | 2,763 | development | 13,791 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Set-DbaDbState",
$PSDefaultParameterValues = $TestConfig.Defaults
)
Describe $CommandName -Tag UnitTests {
Context "Parameter validation" {
It "Should have the expected parameters" ... |
github | dataplat/dbatools | https://github.com/dataplat/dbatools | tests/Backup-DbaServiceMasterKey.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,820 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Backup-DbaServiceMasterKey",
$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-DbaDefaultPath.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,132 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Set-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/Get-DbaFirewallRule.Tests.ps1 | PowerShell | mit | 2,763 | development | 902 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaFirewallRule",
$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-DbaPowerPlan.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,750 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Test-DbaPowerPlan",
$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/Import-DbatoolsConfig.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,134 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Import-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/Get-DbaDbUdf.Tests.ps1 | PowerShell | mit | 2,763 | development | 4,108 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaDbUdf",
$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-DbatoolsPath.Tests.ps1 | PowerShell | mit | 2,763 | development | 735 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-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/InModule.Commands.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,070 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "InModule.Commands",
$PSDefaultParameterValues = $TestConfig.Defaults
)
Describe $CommandName -Tag IntegrationTests {
# The original test used Get-TestConfig, but that is now handled by the ... |
github | dataplat/dbatools | https://github.com/dataplat/dbatools | tests/Install-DbaFirstResponderKit.Tests.ps1 | PowerShell | mit | 2,763 | development | 6,987 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Install-DbaFirstResponderKit",
$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-DbaDbRoleMember.Tests.ps1 | PowerShell | mit | 2,763 | development | 4,067 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaDbRoleMember",
$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-DbaOpenTransaction.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,087 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaOpenTransaction",
$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-DbaBackupDevice.Tests.ps1 | PowerShell | mit | 2,763 | development | 4,120 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Copy-DbaBackupDevice",
$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/Read-DbaAuditFile.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,325 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Read-DbaAuditFile",
$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-DbaSpinLockStatistic.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,146 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaSpinLockStatistic",
$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/Add-DbaComputerCertificate.Tests.ps1 | PowerShell | mit | 2,763 | development | 8,676 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Add-DbaComputerCertificate",
$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/Dismount-DbaDatabase.Tests.ps1 | PowerShell | mit | 2,763 | development | 5,598 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Dismount-DbaDatabase",
$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/Start-DbaMigration.Tests.ps1 | PowerShell | mit | 2,763 | development | 30,332 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Start-DbaMigration",
$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-DbaDbUdf.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,178 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Remove-DbaDbUdf",
$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-DbaWsfcCluster.Tests.ps1 | PowerShell | mit | 2,763 | development | 810 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaWsfcCluster",
$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-DbaDbExtentDiff.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,283 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaDbExtentDiff",
$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-DbaDbMailProfile.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,995 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaDbMailProfile",
$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-DbaLinkedServer.Tests.ps1 | PowerShell | mit | 2,763 | development | 4,127 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Copy-DbaLinkedServer",
$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-DbaBackupInformation.Tests.ps1 | PowerShell | mit | 2,763 | development | 17,715 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Test-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/Enable-DbaReplDistributor.Tests.ps1 | PowerShell | mit | 2,763 | development | 859 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Enable-DbaReplDistributor",
$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-DbaAgentServer.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,040 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Copy-DbaAgentServer",
$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-DbaBackup.Tests.ps1 | PowerShell | mit | 2,763 | development | 6,266 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Remove-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/Invoke-DbaDbccDropCleanBuffer.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,032 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Invoke-DbaDbccDropCleanBuffer",
$PSDefaultParameterValues = $TestConfig.Defaults
)
Describe $CommandName -Tag UnitTests {
Context "Parameter validation" {
It "Should have the expect... |
github | dataplat/dbatools | https://github.com/dataplat/dbatools | tests/Remove-DbaDbOrphanUser.Tests.ps1 | PowerShell | mit | 2,763 | development | 10,044 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Remove-DbaDbOrphanUser",
$PSDefaultParameterValues = $TestConfig.Defaults
)
Describe $CommandName -Tag UnitTests {
Context "Parameter validation" {
It "Should have the expected para... |
github | dataplat/dbatools | https://github.com/dataplat/dbatools | tests/Get-DbaDbSchema.Tests.ps1 | PowerShell | mit | 2,763 | development | 7,432 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-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/Test-DbaDbCollation.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,204 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Test-DbaDbCollation",
$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/Save-DbaDiagnosticQueryScript.Tests.ps1 | PowerShell | mit | 2,763 | development | 985 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Save-DbaDiagnosticQueryScript",
$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-DbaDbEncryptionKey.Tests.ps1 | PowerShell | mit | 2,763 | development | 5,803 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "New-DbaDbEncryptionKey",
$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-DbaDbUserDefinedTableType.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,954 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaDbUserDefinedTableType",
$PSDefaultParameterValues = $TestConfig.Defaults
)
Describe $CommandName -Tag UnitTests {
Context "Parameter validation" {
It "Should have the expect... |
github | dataplat/dbatools | https://github.com/dataplat/dbatools | tests/Export-DbaDbRole.Tests.ps1 | PowerShell | mit | 2,763 | development | 5,002 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Export-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/appveyor.common.ps1 | PowerShell | mit | 2,763 | development | 19,403 | function Get-TestsForScenario {
param($Scenario, $AllTests, [switch]$Silent)
# does this scenario run an 'autodetect' ?
if ($TestsRunGroups[$Scenario].StartsWith('autodetect_')[0]) {
# exclude any test specifically tied to a non-autodetect or version specific scenario
$TiedFunctions = ($Te... |
github | dataplat/dbatools | https://github.com/dataplat/dbatools | tests/Add-DbaRegServer.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,888 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Add-DbaRegServer",
$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-DbaAgentJobOutputFile.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,099 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Set-DbaAgentJobOutputFile",
$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-DbaDbSchema.Tests.ps1 | PowerShell | mit | 2,763 | development | 5,199 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Remove-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/Enable-DbaDbEncryption.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,462 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Enable-DbaDbEncryption",
$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-DbaLogin.Tests.ps1 | PowerShell | mit | 2,763 | development | 18,384 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Copy-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/Start-DbaTrace.Tests.ps1 | PowerShell | mit | 2,763 | development | 6,954 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Start-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/Test-DbaDbRecoveryModel.Tests.ps1 | PowerShell | mit | 2,763 | development | 4,986 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Test-DbaDbRecoveryModel",
$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-DbatoolsLog.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,202 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbatoolsLog",
$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-DbaAvailabilityGroup.Tests.ps1 | PowerShell | mit | 2,763 | development | 2,964 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Remove-DbaAvailabilityGroup",
$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-DbaAvailableCollation.Tests.ps1 | PowerShell | mit | 2,763 | development | 1,146 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaAvailableCollation",
$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-DbaRegServer.Tests.ps1 | PowerShell | mit | 2,763 | development | 9,186 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Get-DbaRegServer",
$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-DbaSystemDbUserObject.Tests.ps1 | PowerShell | mit | 2,763 | development | 3,893 | #Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" }
param(
$ModuleName = "dbatools",
$CommandName = "Copy-DbaSystemDbUserObject",
$PSDefaultParameterValues = $TestConfig.Defaults
)
Describe $CommandName -Tag UnitTests {
Context "Parameter validation" {
It "Should have the expected ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.