dsccommunity / dsccommunity/SqlServerDsc
SqlServerDsc: Add test helper functions for easier testing of localized error messages
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 385
- Forks
- 224
- PR merge metrics
- No merged PRs in 30d
Description
Details of the scenario you tried and the problem that is occurring:
I think we should add the common test helpers here to this repository. And also change all unit tests that throws localized error messages should be changed to use these helper functions. That would be all the resource that has been localized according to the new HWRM standard.
Also add a description of these helper functions to the specific contribution gudielines in this repository.
The DSC configuration that is using the resource (as detailed as possible):
n/a
Version of the Operating System, SQL Server and PowerShell the DSC Target Node is running:
n/a
What module (SqlServer or SQLPS) and which version of the module 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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the linked Tests/TestHelpers/CommonTestHelper.psm1 and locating unit tests for localized error messages across the repository. Update affected tests to use the common helpers and document those helpers in the repository's contribution guidelines; done means all localized-error tests and the relevant guidelines are covered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- documentation, testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100