dataplat / dbatools

🚀 SQL Server automation and instance migrations have never been safer, faster or freer
https://dbatools.io
MIT License
2.47k stars 800 forks source link

Integration Tests Needed #5464

Closed potatoqualitee closed 5 years ago

potatoqualitee commented 5 years ago

We have about 102 commands that need Integration tests. any chance our tests team can have these addressed within 30 days (dbatools will go 1.0 for data grillen)? Even one integration test per would be fab. I'll see what I can do about the ones that are questionable at the bottom.

Time sensitive

Find-DbaDbUnusedIndex

Active Directory

Find-DbaLoginInGroup Get-DbaSpn Remove-DbaSpn Set-DbaSpn

SSIS

Get-DbaSsisEnvironmentVariable Get-DbaSsisExecutionHistory Copy-DbaSsisCatalog

Cluster

Get-DbaWsfcAvailableDisk Get-DbaWsfcCluster Get-DbaWsfcDisk Get-DbaWsfcNetwork Get-DbaWsfcNetworkInterface Get-DbaWsfcNode Get-DbaWsfcResource Get-DbaWsfcResourceType Get-DbaWsfcRole Get-DbaWsfcSharedVolume

Installations and Updates

Install-DbaInstance Install-DbaWatchUpdate Invoke-DbaAdvancedInstall Invoke-DbaAdvancedRestore Invoke-DbaAdvancedUpdate Uninstall-DbaWatchUpdate

No point or can't test

New-DbatoolsSupportPackage Update-dbatools

Async / Job based

Start-DbaXESmartTarget Stop-DbaXESmartTarget

GUIs

Show-DbaDbList Show-DbaServerFileSystem Watch-DbaUpdate

Maybe no issues

Availability Groups

Invoke-DbaAgFailover Join-DbaAvailabilityGroup Sync-DbaAvailabilityGroup

Azure or Credentials

New-DbaAzAccessToken

Certs

Get-DbaNetworkCertificate Set-DbaNetworkCertificate

Mirroring

Get-DbaDbMirror Get-DbaDbMirrorMonitor Invoke-DbaDbMirrorFailover

Replication

Get-DbaRepPublication Get-DbaRepServer Test-DbaRepLatency

Log shipping

Invoke-DbaDbLogShipRecovery

#junky script to get this info
function noint {
foreach ($file in (Get-ChildItem .\tests\*.Tests.ps1)
) { if (-not (Select-String -Pattern 'IntegrationTests' -Path $file )) { $file }}
}
noint | measure-object
potatoqualitee commented 5 years ago

heyy i did Copy-DbaEndpoint! (hello livestream!)

gbargsley commented 5 years ago

https://www.twitch.tv/videos/419722877

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. If you would like this issue to remain open:

potatoqualitee commented 5 years ago

good point bot