You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use manifest.json/image-info.json to determine which tests to run. #5337
Maintaining TestData.cs causes merge conflicts during servicing and allows for human error. Most of this data is already duplicated in some way by the manifest.json file. We should consider using that file to drive our tests.
We discussed generating the TestData in the Test project, but decided against it since it might be easy to miss special cases that exist in the manifest if the test cases aren't explicitly enumerated.
It would be a good idea to create a prototype of this, probably by creating a simple model in the Test project.
[Triage] If it's possible to share images between 9.0 and 10.0, then we should aim to have a solution for this issue in place before .NET 10 is released.
We should also consider the situation of a local build without an image-info file present. If it's possible to have a solution that only relies on path filters and the manifest then that might be preferable, as opposed to reading both the manifest and the image info.
changed the title [-]Use manifest.json to determine which tests to run.[/-][+]Use manifest.json/image-info.json to determine which tests to run.[/+]on Jan 27, 2025
Activity
lbussell commentedon Apr 11, 2024
[Triage]
It would be a good idea to create a prototype of this, probably by creating a simple model in the Test project.
lbussell commentedon Jan 27, 2025
[Triage] If it's possible to share images between 9.0 and 10.0, then we should aim to have a solution for this issue in place before .NET 10 is released.
We should also consider the situation of a local build without an image-info file present. If it's possible to have a solution that only relies on path filters and the manifest then that might be preferable, as opposed to reading both the manifest and the image info.
[-]Use manifest.json to determine which tests to run.[/-][+]Use manifest.json/image-info.json to determine which tests to run.[/+]