Discover Packages
github.com/MohamedElashri/snipo
internal
testutil
package
Version:
v1.3.6
Opens a new window with list of versions in this module.
Published: Feb 4, 2026
License: AGPL-3.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package testutil provides testing utilities for the snipo application.
TestContext returns a context for testing
TestDB creates an in-memory SQLite database for testing.
It runs migrations and returns the database connection.
The database is automatically closed when the test completes.
TestLogger returns a no-op logger for testing
Source Files
¶
Click to show internal directories.
Click to hide internal directories.