You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem
Script should be tested before execution in a prod environment. Test reg files already exists and can be used for manual tests, but manual tests is nit a good practice, and should be created autotests.
Test cases
Pester tests should contain a scrith which will:
[Done] - import reg files
[Done] - run script without parameters and check that test services was fixed (positive and negative scenarious)
[Done] - run script with -FixUninstall parameter and check that test uninstall strings fixed (positive and negative scenarious)
[Done] - import reg files once again
[Done] - execute script with -FixUninstall, -FixEnv and -CreateBackup parameters and check that backup files was created and contain correct values, and values in the registry are correct
execute script with -FixUninstall and -RestoreBackup parameters and check that values in the registry are reverted back (as before fixing)
**
The text was updated successfully, but these errors were encountered:
Problem
Script should be tested before execution in a prod environment. Test reg files already exists and can be used for manual tests, but manual tests is nit a good practice, and should be created autotests.
Test cases
Pester tests should contain a scrith which will:
[Done] - import reg files
[Done] - run script without parameters and check that test services was fixed (positive and negative scenarious)
[Done] - run script with -FixUninstall parameter and check that test uninstall strings fixed (positive and negative scenarious)
[Done] - import reg files once again
[Done] - execute script with -FixUninstall, -FixEnv and -CreateBackup parameters and check that backup files was created and contain correct values, and values in the registry are correct
**
The text was updated successfully, but these errors were encountered: