osv-scanner icon indicating copy to clipboard operation
osv-scanner copied to clipboard

test: only include specific command under test in `cmd` package tests

Open G-Rath opened this issue 8 months ago • 0 comments

Currently because all commands are included in all cmd tests any code change will invalid the test cache for all cmd packages regardless of if the change is actually impactful to them - we can avoid this by having the setup for each cmd package explicitly set the commands to include in the test, as the cost of a minor change to the app builder function

G-Rath avatar Apr 26 '25 21:04 G-Rath