E2E: Import-TestData plumbing, section docs, and versioning#34
Merged
Conversation
Point CI at PSModule/Process-PSModule@feat/import-testdata. Push a masked secret (TEST_SECRET) and a non-masked variable (TEST_VARIABLE) into the module test jobs via TestData, asserted in tests/Environment.Tests.ps1. Reorganize public functions into sections (Greetings/ with a named landing page, DateAndTime/ with an index.md landing page) to show documentation on the section nodes, leaving Get-PSModuleTest at the top level.
Super-linter summary
All files and directories linted successfully For more information, see the GitHub Actions workflow run Powered by Super-linter |
added 2 commits
July 10, 2026 22:22
Adds an It block that Write-Hosts both values. GitHub Actions masks TEST_SECRET (registered via ::add-mask:: by Import-TestData) to *** in the log, while TEST_VARIABLE is printed verbatim - demonstrating that only the secrets map is masked.
Closed
6 tasks
The Import-TestData plumbing and always-evaluate-version-labels fix are now released in Process-PSModule v6.1.2 (via PSModule/Process-PSModule#377, IPH v1.0.9 + Resolve-PSModuleVersion v1.1.4), so the temporary feat/import-testdata branch ref is replaced with the released tag.
Per the GitHub Actions coding standard, uses: references are pinned to a full 40-character commit SHA with the human-readable version as a trailing comment. Replaces the v6.1.2 tag pin with its commit SHA (d4020f3).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
End-to-end test of the TestData plumbing fix, exercised through this module without merging the
underlying changes.
Wiring
PSModule/Process-PSModule/.github/workflows/workflow.yml@feat/import-testdata(PR 🪲 [Fix]: Test data reaches module tests in every consumer repository PSModule/Process-PSModule#377), which installs
PSModule/Install-PSModuleHelpers@feat/import-testdata(PR 🚀 [Feature]: Import-TestData is available from the shared Helpers module PSModule/Install-PSModuleHelpers#20)and runs its new
Import-TestDatacommand.What to observe
TestDataobject witha
secretsmap (TEST_SECRET, masked in logs) and avariablesmap (TEST_VARIABLE, not masked).tests/Environment.Tests.ps1asserts both arrive with their exact fixture values inside the moduletest job.
Minor; the pipeline computes the next version accordingly.the section nodes:
Greetings/(landing page fromGreetings.md) →Get-GreetingDateAndTime/(landing page fromindex.md) →Get-CurrentDateTimeGet-PSModuleTeststays at the top level