dotnet / dotnet/project-system
Unit tests should catch unexpected jumps in file sizes in VSIX
Open
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
Assessment
This issue has not been assessed yet.