package
1.9.0
Repository: https://github.com/google/osv-scanner.git
Documentation: pkg.go.dev

# Functions

CleanSnapshots ensures that snapshots are relevant and sorted for consistency.
CreateTestDir makes a temporary directory for use in testing that involves writing and reading files from disk, which is automatically cleaned up when testing finishes.
Access to environment variable that toggles acceptance testing execution paths Acceptance testing is "On" only when var set to "true".
LoadJSONFixture returns the contents of the fixture file parsed as JSON.
LoadJSONFixtureWithWindowsReplacements returns the contents of the fixture file parsed as JSON after applying any replacements if running on Windows.
NewMockHTTPServer starts and returns a new simple HTTP Server for mocking basic requests.
NewSnapshot creates a snapshot that can be passed around within tests.
Skip is equivalent to t.Log followed by t.SkipNow, but allows tracking of what snapshots are skipped so that they're not marked as obsolete.
AcceptanceTests marks this test function as a extended that require additional dependencies automatically skipped unless running in a CI environment.
No description provided by the author

# Structs

No description provided by the author
No description provided by the author