dotnet / dotnet/project-system

Unit tests should catch unexpected jumps in file sizes in VSIX

Open
#9,773 0 comments 1 reaction 1 assignee Assigned to @Copilot View on GitHub
Area-Testing
Dominant language
C#
Stars
1k
Forks
415
PR merge metrics
No merged PRs in 30d

Description

We have unit tests (`PackageContentTests`?) that validate the set of files in the VSIX files we build. These only catch if files are unexpectedly removed or added.

We should also have a test that fails if the size of included files jumps unexpectedly. It might also be helpful to check if file sizes _drop_ unexpectedly too.

We would have to baseline the expected file sizes in the tests themselves. On occasion we would need to update these baselines due to product evolution.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.