Skip to content

Document testworkloadsetversions.json in MSI installation tests README#54498

Open
dsplaisted wants to merge 2 commits into
dotnet:mainfrom
dsplaisted:docs-msi-test-readme
Open

Document testworkloadsetversions.json in MSI installation tests README#54498
dsplaisted wants to merge 2 commits into
dotnet:mainfrom
dsplaisted:docs-msi-test-readme

Conversation

@dsplaisted
Copy link
Copy Markdown
Member

The MSI installation tests' workload-set test classes require a testworkloadsetversions.json file inside the VM at C:\SdkTesting\workloadsets\testworkloadsetversions.json. The file specifies workload set versions to install and update between, but its existence and schema were not previously documented.

Add a new 'Workload set test versions' section to the README covering the file location, the schema (required keys version1, versionpreview, version2; optional keys previousbandversion, needsIncludePreviews with defaults), guidance on choosing versions, and an example, plus a cross-reference from the VM setup instructions.

The MSI installation tests' workload-set test classes (WorkloadSetTests,
WorkloadSetTests2, VSWorkloadTests, and any other class derived from
WorkloadSetTestsBase) require a testworkloadsetversions.json file inside
the VM at C:\SdkTesting\workloadsets\testworkloadsetversions.json. The
file specifies workload set versions to install and update between, but
its existence and schema were not previously documented.

Add a new 'Workload set test versions' section to the README covering the
file location, the schema (required keys version1, versionpreview,
version2; optional keys previousbandversion, needsIncludePreviews with
defaults), guidance on choosing versions, and an example, plus a
cross-reference from the VM setup instructions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Documents the required testworkloadsetversions.json file used by the MSI installation workload-set tests, so contributors can configure VM images correctly and understand the expected schema.

Changes:

  • Adds a new “Workload set test versions” README section describing file location, JSON schema (required/optional keys + defaults), and guidance for selecting versions.
  • Adds a cross-reference in the VM setup steps to ensure the file is created when running workload set-related tests.
  • Includes an example testworkloadsetversions.json payload and notes the failure mode when the file is missing.

Comment thread test/dotnet-MsiInstallation.Tests/README.md Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants