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

Mock clients for testing

Open cuixq opened this issue 10 months ago • 1 comments

We now rely on real data for testing and this causes us updating snapshots quite often.

Considering the work for interfaces and clients are done, we can implement mock clients and use them for testing.

cuixq avatar Feb 12 '25 00:02 cuixq

fwiw that's a nice side effect of #1603 for the local databases, though when @another-rex and I discussed it yesterday we weren't a fan of how it meant we would no longer be testing against the real world advisories and infrastructure...

G-Rath avatar Feb 12 '25 00:02 G-Rath