[Feature Request]: Add Pester test to check if published templatespecs name would exceed 90 chars
Open
[cat] publishing
[cat] testing
enhancement
- Dominant language
- PowerShell
- Stars
- 737
- Forks
- 436
- Avg merge
- 10d 7h
- Merged PRs (30d)
- 1
Description
### Description
Modules fail to be published to templatespecs if the generated templatespecs name exceeds 90 chars.
Add a new Pester test to check this condition beforehand (shift left).
- The test should use the function recently updated by PR #2589
- The test should run only if publishing to templatespecs is enabled in the settings.yml file
Contributor guide
Research direction
Review the function updated by PR #2589 and the publishing setting in settings.yml, then locate the existing Pester tests for templatespec publishing. Add coverage for names over 90 characters only when templatespec publishing is enabled, and confirm the test passes with both setting states.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- release, testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100