Files
photoview/api/test_utils/flags/flags.go
2025-07-18 15:21:03 +02:00

17 lines
452 B
Go

package flags
import "flag"
var (
// Database enables database-integration tests when the `-database` flag is passed to `go test`.
Database bool
// Filesystem enables filesystem-integration tests when the `-filesystem` flag is passed to `go test`.
Filesystem bool
)
func init() {
flag.BoolVar(&Database, "database", false, "run database integration tests")
flag.BoolVar(&Filesystem, "filesystem", false, "run filesystem integration tests")
}