-
-
Notifications
You must be signed in to change notification settings - Fork 808
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unit Test Revamp - all the tests #4975
Conversation
@jpomfret this is way to big a PR to review and merge. The renames are best for tracking purposes to be their own individual PR. The cleanup of the unit test if you can do as you have done previously keeping each PR to around 50-60 is best, then we know if something is breaking the current test. The failure right now is effected by some change that was made in this PR but with 521 changes I'm not going to try and figure out what 😁 |
i asked her to, if they all get to pass, i'll be good merging. she used regex so it's the same changes over and over 😁 |
I'm going to merge into the |
Three unit tests were still failing for a real reason. They have no params and the "one size fits all" unit test I wrote didn't work for those... I'll dig in a little later and see whether I need to make a change to the test again or not.. Thanks folks |
working it now! |
Type of Change
Purpose
Changing all the unit tests to match that of #4966
Additional Changes
Invoke-DbaDbCorruption.Tests.ps1
- file was renamed to match the correct function nameInvoke-DbaDbCorruption
Test-DbaJobOwner.Tests.ps1
- file renamed to match the correct function nameTest-DbaAgentJobOwner
Get-DbaClusterAvailableDisk.Tests.ps1
- removed file, it was testingGet-DbaWsfcAvailableDisk
and there is already a test file for that one.