Documentation
¶
Overview ¶
Package test creates managers for tests, of temporary databases, which are closed, and deleted, when the tests end.
Index ¶
Constants ¶
const (
// Database is the name of the temporary database
Database = "filesearch.db"
)
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(t testing.TB, opts ...filesearch.Opt) *filesearch.Manager
New returns a manager, of a database, in a temporary folder, with the options, which is closed, and deleted, with its folder, when the test ends. It fails the test when it can't be created.
Types ¶
This section is empty.