ps/Modules/Alkami.PowerShell.Choco/TestFiles
2023-05-30 22:51:22 -07:00
..
Nonsense folder First full commit 2023-05-30 22:51:22 -07:00
PackageObjects First full commit 2023-05-30 22:51:22 -07:00
TestProvider First full commit 2023-05-30 22:51:22 -07:00
TestWidget First full commit 2023-05-30 22:51:22 -07:00
data.json First full commit 2023-05-30 22:51:22 -07:00
readme.md First full commit 2023-05-30 22:51:22 -07:00
Write-OrderedJson.ps1 First full commit 2023-05-30 22:51:22 -07:00

Package Objects

This is a collection of json represtentations of packages. This is a subset of the same data you'd find in the PackageData.json file created by the ClassifyPackages deployment step.

Local Usage

These files are used by "Get-PackageInstallationData.Tests.ps1. They are used to simulate the output objects from Get-PackageMetadataV2.

Usage in TDC

The Classify Packages unit tests need these same objects. It will pull a copy of whatever files you have here locally when you run those tests. If these files are modified in any way, the corresponding PackageData-Expected-(Full/Minimal).json files must also be updated, or you'll have failing tests in that repo.