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/Get-DbaMemoryUsage.Tests.ps1
PowerShell
mit
2,763
development
1,997
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaMemoryUsage", $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-DbaCmConnection.Tests.ps1
PowerShell
mit
2,763
development
986
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaCmConnection", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected para...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Invoke-DbaDbUpgrade.Tests.ps1
PowerShell
mit
2,763
development
1,298
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Invoke-DbaDbUpgrade", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected paramet...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Export-DbaLogin.Tests.ps1
PowerShell
mit
2,763
development
26,090
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Export-DbaLogin", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameters" ...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaComputerSystem.Tests.ps1
PowerShell
mit
2,763
development
1,989
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaComputerSystem", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected param...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Remove-DbaDbFileGroup.Tests.ps1
PowerShell
mit
2,763
development
6,311
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaDbFileGroup", $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-DbaDbFileGroup.Tests.ps1
PowerShell
mit
2,763
development
4,652
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-DbaDbFileGroup", $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/Write-DbaDbTableData.Tests.ps1
PowerShell
mit
2,763
development
4,973
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Write-DbaDbTableData", $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-DbaAgListener.Tests.ps1
PowerShell
mit
2,763
development
931
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Set-DbaAgListener", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameter...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaRegServerStore.Tests.ps1
PowerShell
mit
2,763
development
1,194
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaRegServerStore", $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/Update-DbaMaintenanceSolution.Tests.ps1
PowerShell
mit
2,763
development
933
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Update-DbaMaintenanceSolution", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expect...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaQueryExecutionTime.Tests.ps1
PowerShell
mit
2,763
development
1,209
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaQueryExecutionTime", $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-DbaDbCertificate.Tests.ps1
PowerShell
mit
2,763
development
1,341
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-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/Invoke-DbaBalanceDataFiles.Tests.ps1
PowerShell
mit
2,763
development
12,876
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Invoke-DbaBalanceDataFiles", $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/Start-DbaAgentJob.Tests.ps1
PowerShell
mit
2,763
development
4,517
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Start-DbaAgentJob", $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-DbaDbMirrorFailover.Tests.ps1
PowerShell
mit
2,763
development
1,106
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Invoke-DbaDbMirrorFailover", $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-DbaAgentJobHistory.Tests.ps1
PowerShell
mit
2,763
development
18,427
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaAgentJobHistory", $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/Install-DbaSqlPackage.Tests.ps1
PowerShell
mit
2,763
development
3,364
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Install-DbaSqlPackage", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected param...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Remove-DbaRgWorkloadGroup.Tests.ps1
PowerShell
mit
2,763
development
6,523
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaRgWorkloadGroup", $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/Restore-DbaDatabase.Tests.ps1
PowerShell
mit
2,763
development
57,041
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Restore-DbaDatabase", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected paramet...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/New-DbaLinkedServer.Tests.ps1
PowerShell
mit
2,763
development
8,028
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-DbaLinkedServer", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected paramet...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Copy-DbaDatabase.Tests.ps1
PowerShell
mit
2,763
development
29,607
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Copy-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/Get-DbaInstanceInstallDate.Tests.ps1
PowerShell
mit
2,763
development
1,433
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaInstanceInstallDate", $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-DbaTraceFlag.Tests.ps1
PowerShell
mit
2,763
development
3,277
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaTraceFlag", $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-DbaPlanCache.Tests.ps1
PowerShell
mit
2,763
development
1,147
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaPlanCache", $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-DbaWaitingTask.Tests.ps1
PowerShell
mit
2,763
development
4,835
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaWaitingTask", $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/pester.groups.ps1
PowerShell
mit
2,763
development
11,670
# this files describes which tests to run on which environment of the build matrix $TestsRunGroups = @{ # run on scenario SINGLE - tests that need just a single instance "SINGLE" = 'autodetect_$TestConfig.InstanceSingle' # run on scenario MULTI - tests that need multiple instances "MULTI" ...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Rename-DbaDatabase.Tests.ps1
PowerShell
mit
2,763
development
12,720
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Rename-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/Test-DbaEndpoint.Tests.ps1
PowerShell
mit
2,763
development
2,102
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Test-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/Remove-DbaDbPartitionScheme.Tests.ps1
PowerShell
mit
2,763
development
3,471
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaDbPartitionScheme", $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-DbaPfDataCollectorSet.Tests.ps1
PowerShell
mit
2,763
development
1,232
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaPfDataCollectorSet", $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-DbaDbForeignKey.Tests.ps1
PowerShell
mit
2,763
development
5,911
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaDbForeignKey", $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-DbaAgReplica.Tests.ps1
PowerShell
mit
2,763
development
909
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaAgReplica", $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-DbaAgentAlertCategory.Tests.ps1
PowerShell
mit
2,763
development
4,070
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaAgentAlertCategory", $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-DbaTopResourceUsage.Tests.ps1
PowerShell
mit
2,763
development
2,768
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaTopResourceUsage", $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-DbaRandomizedType.Tests.ps1
PowerShell
mit
2,763
development
1,534
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaRandomizedType", $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-DbaDbDbccCleanTable.Tests.ps1
PowerShell
mit
2,763
development
5,010
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Invoke-DbaDbDbccCleanTable", $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-DbaDatabase.Tests.ps1
PowerShell
mit
2,763
development
19,537
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-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/InModule.Help.Tests.ps1
PowerShell
mit
2,763
development
6,727
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools" ) # quit failing appveyor if ($env:appveyor) { $names = @( "Microsoft.SqlServer.Management.XEvent", "Microsoft.SqlServer.Management.XEventDbScoped", "Microsoft.SqlServer.Management.XEventDbSc...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaPfDataCollectorCounterSample.Tests.ps1
PowerShell
mit
2,763
development
1,457
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaPfDataCollectorCounterSample", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the ...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/appveyor.prep.ps1
PowerShell
mit
2,763
development
3,996
Add-AppveyorTest -Name "appveyor.prep" -Framework NUnit -FileName "appveyor.prep.ps1" -Outcome Running # Invoke appveyor.common.ps1 to know which tests to run . "$($env:APPVEYOR_BUILD_FOLDER)\tests\appveyor.common.ps1" $AllScenarioTests = Get-TestsForBuildScenario -ModuleBase $env:APPVEYOR_BUILD_FOLDER -Silent if ($A...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Invoke-DbaAdvancedRestore.Tests.ps1
PowerShell
mit
2,763
development
8,534
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Invoke-DbaAdvancedRestore", $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-DbaErrorLogConfig.Tests.ps1
PowerShell
mit
2,763
development
3,612
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Set-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/Remove-DbaNetworkCertificate.Tests.ps1
PowerShell
mit
2,763
development
1,022
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaNetworkCertificate", $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-DbaDbIdentity.Tests.ps1
PowerShell
mit
2,763
development
4,396
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaDbIdentity", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameters...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/New-DbaDbMailProfile.Tests.ps1
PowerShell
mit
2,763
development
5,429
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-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/Get-DbaWsfcSharedVolume.Tests.ps1
PowerShell
mit
2,763
development
815
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaWsfcSharedVolume", $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/Measure-DbaBackupThroughput.Tests.ps1
PowerShell
mit
2,763
development
2,880
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Measure-DbaBackupThroughput", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Restore-DbaDbCertificate.Tests.ps1
PowerShell
mit
2,763
development
4,745
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Restore-DbaDbCertificate", $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-DbaInstalledPatch.Tests.ps1
PowerShell
mit
2,763
development
1,244
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaInstalledPatch", $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/Disable-DbaAgHadr.Tests.ps1
PowerShell
mit
2,763
development
1,967
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Disable-DbaAgHadr", $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-DbaDiagnosticQuery.Tests.ps1
PowerShell
mit
2,763
development
7,704
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Invoke-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/Stop-DbaPfDataCollectorSet.Tests.ps1
PowerShell
mit
2,763
development
1,998
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Stop-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/Invoke-DbaWhoIsActive.Tests.ps1
PowerShell
mit
2,763
development
6,466
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Invoke-DbaWhoIsActive", $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-DbaEndpoint.Tests.ps1
PowerShell
mit
2,763
development
2,140
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-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/Test-DbaTempDbConfig.Tests.ps1
PowerShell
mit
2,763
development
2,650
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Test-DbaTempDbConfig", $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-DbaDbBackupHistory.Tests.ps1
PowerShell
mit
2,763
development
11,476
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaDbBackupHistory", $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-DbaDbDataClassification.Tests.ps1
PowerShell
mit
2,763
development
5,054
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-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/Disable-DbaDbEncryption.Tests.ps1
PowerShell
mit
2,763
development
3,338
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Disable-DbaDbEncryption", $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-DbaDiagnosticAdsNotebook.Tests.ps1
PowerShell
mit
2,763
development
1,762
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-DbaDiagnosticAdsNotebook", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expecte...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Copy-DbaDbMail.Tests.ps1
PowerShell
mit
2,763
development
7,322
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Copy-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/Get-DbaStartupProcedure.Tests.ps1
PowerShell
mit
2,763
development
3,017
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaStartupProcedure", $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-DbaDbSynonym.Tests.ps1
PowerShell
mit
2,763
development
7,505
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-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/Remove-DbaDbData.Tests.ps1
PowerShell
mit
2,763
development
5,992
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaDbData", $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-DbaInstanceProtocol.Tests.ps1
PowerShell
mit
2,763
development
1,396
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaInstanceProtocol", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected par...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Disable-DbaForceNetworkEncryption.Tests.ps1
PowerShell
mit
2,763
development
1,179
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Disable-DbaForceNetworkEncryption", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the ex...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Set-DbaDbOwner.Tests.ps1
PowerShell
mit
2,763
development
5,052
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Set-DbaDbOwner", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameters" ...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Disable-DbaFilestream.Tests.ps1
PowerShell
mit
2,763
development
1,768
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Disable-DbaFilestream", $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-DbaResourceGovernor.Tests.ps1
PowerShell
mit
2,763
development
1,019
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaResourceGovernor", $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-DbaExtendedProperty.Tests.ps1
PowerShell
mit
2,763
development
2,862
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaExtendedProperty", $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/Register-DbatoolsConfig.Tests.ps1
PowerShell
mit
2,763
development
1,084
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Register-DbatoolsConfig", $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-DbaDbccStatistic.Tests.ps1
PowerShell
mit
2,763
development
7,170
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaDbccStatistic", $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-DbaAgentJobStep.Tests.ps1
PowerShell
mit
2,763
development
6,097
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Copy-DbaAgentJobStep", $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-DbaServerRoleMember.Tests.ps1
PowerShell
mit
2,763
development
4,289
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaServerRoleMember", $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/Copy-DbaDbViewData.Tests.ps1
PowerShell
mit
2,763
development
10,187
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Copy-DbaDbViewData", $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-DbaDbCheckConstraint.Tests.ps1
PowerShell
mit
2,763
development
3,972
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaDbCheckConstraint", $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-DbaDbFileGroup.Tests.ps1
PowerShell
mit
2,763
development
4,427
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaDbFileGroup", $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-DbaDbFileMapping.Tests.ps1
PowerShell
mit
2,763
development
1,637
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaDbFileMapping", $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/Update-Dbatools.Tests.ps1
PowerShell
mit
2,763
development
1,005
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Update-Dbatools", $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-DbaDbLogShipStatus.Tests.ps1
PowerShell
mit
2,763
development
1,677
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Test-DbaDbLogShipStatus", $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-DbaServiceMasterKey.Tests.ps1
PowerShell
mit
2,763
development
1,083
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-DbaServiceMasterKey", $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/Copy-DbaSsisCatalog.Tests.ps1
PowerShell
mit
2,763
development
1,071
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Copy-DbaSsisCatalog", $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-DbaAgentJob.Tests.ps1
PowerShell
mit
2,763
development
1,606
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Set-DbaAgentJob", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameters"...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaService.Tests.ps1
PowerShell
mit
2,763
development
6,082
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-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/Set-DbaExtendedProperty.Tests.ps1
PowerShell
mit
2,763
development
2,464
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Set-DbaExtendedProperty", $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-DbaResourceGovernor.Tests.ps1
PowerShell
mit
2,763
development
3,438
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Set-DbaResourceGovernor", $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/Copy-DbaAgentJob.Tests.ps1
PowerShell
mit
2,763
development
12,008
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Copy-DbaAgentJob", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameters...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Get-DbaDbLogShipError.Tests.ps1
PowerShell
mit
2,763
development
1,730
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaDbLogShipError", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected param...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Set-DbaRgWorkloadGroup.Tests.ps1
PowerShell
mit
2,763
development
13,871
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Set-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/New-DbaComputerCertificateSigningRequest.Tests.ps1
PowerShell
mit
2,763
development
1,200
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "New-DbaComputerCertificateSigningRequest", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Invoke-DbaDbDbccCheckConstraint.Tests.ps1
PowerShell
mit
2,763
development
3,733
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Invoke-DbaDbDbccCheckConstraint", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expe...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Invoke-DbaDbLogShipping.Tests.ps1
PowerShell
mit
2,763
development
9,004
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Invoke-DbaDbLogShipping", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected para...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Find-DbaDbDisabledIndex.Tests.ps1
PowerShell
mit
2,763
development
3,743
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Find-DbaDbDisabledIndex", $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-DbaAgentJobStep.Tests.ps1
PowerShell
mit
2,763
development
1,069
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaAgentJobStep", $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-DbaKbUpdate.Tests.ps1
PowerShell
mit
2,763
development
2,850
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaKbUpdate", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameters"...
github
dataplat/dbatools
https://github.com/dataplat/dbatools
tests/Test-DbaCmConnection.Tests.ps1
PowerShell
mit
2,763
development
2,492
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Test-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-DbaDbTable.Tests.ps1
PowerShell
mit
2,763
development
3,272
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Remove-DbaDbTable", $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-DbaRegistryRoot.Tests.ps1
PowerShell
mit
2,763
development
1,794
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaRegistryRoot", $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-DbaDbOwner.Tests.ps1
PowerShell
mit
2,763
development
13,421
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Test-DbaDbOwner", $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-DbaProductKey.Tests.ps1
PowerShell
mit
2,763
development
1,872
#Requires -Module @{ ModuleName="Pester"; ModuleVersion="5.0" } param( $ModuleName = "dbatools", $CommandName = "Get-DbaProductKey", $PSDefaultParameterValues = $TestConfig.Defaults ) Describe $CommandName -Tag UnitTests { Context "Parameter validation" { It "Should have the expected parameter...