-
Notifications
You must be signed in to change notification settings - Fork 54
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
xCluster: Unit tests does not use the correct template and folder structure is wrong #73
Labels
enhancement
The issue is an enhancement request.
Comments
johlju
added
enhancement
The issue is an enhancement request.
in progress
The issue is being actively worked on by someone.
labels
Jun 21, 2017
johlju
added a commit
to johlju/FailoverClusterDsc
that referenced
this issue
Jun 21, 2017
- Refactored the unit test for this resource to use stubs and increase coverage (issue dsccommunity#73). - Removed the password file (MSFT_xCluster.password.txt) which seemed unnecessary. - Test-TargetResource now throws and error if domain name cannot be evaluated (issue dsccommunity#72). - Set-TargetResource now correctly throws and error if domain name cannot be evaluated (issue dsccommunity#71).
johlju
added a commit
to johlju/FailoverClusterDsc
that referenced
this issue
Jul 3, 2017
- Refactored the unit test for this resource to use stubs and increase coverage (issue dsccommunity#73). - Removed the password file (MSFT_xCluster.password.txt) which seemed unnecessary. - Test-TargetResource now throws and error if domain name cannot be evaluated (issue dsccommunity#72). - Set-TargetResource now correctly throws and error if domain name cannot be evaluated (issue dsccommunity#71).
johlju
added a commit
that referenced
this issue
Jul 3, 2017
- Changes to xFailOverCluster - Added new stubs for FailoverClusters module (Tests\Unit\Stubs\FailoverClusters.stubs.psm1) to be able to run unit tests on a computer that does not have or can install Failover Clustering PowerShell module. - Added a script file (Tests\Unit\Stubs\Write-ModuleStubFile.ps1) to be able to rebuild the stub file (FailoverClusters.stubs.psm1) whenever needed. - Changes to xCluster - Refactored the unit test for this resource to use stubs and increase coverage (issue #73). - Removed the password file (MSFT_xCluster.password.txt) which seemed unnecessary. - Test-TargetResource now throws and error if domain name cannot be evaluated (issue #72). - Set-TargetResource now correctly throws and error if domain name cannot be evaluated (issue #71).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Details of the scenario you tried and the problem that is occurring:
Unit tests does not use the correct template and folder structure is wrong
I suggest change so the correct template is used for the unit tests, and that the correct folder structure is used.
The DSC configuration that is using the resource (as detailed as possible):
n/a
Version of the Operating System and PowerShell the DSC Target Node is running:
n/a
Version of the DSC module you're using, or 'dev' if you're using current dev branch:
Dev
The text was updated successfully, but these errors were encountered: