testfixtures

package
v0.2.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package testfixtures holds disposable local data shared by API and browser tests.

Index

Constants

View Source
const DirectionalScan = "" /* 162-byte string literal not displayed */
View Source
const GeneratorEnd = "2026-09-24T13:00:00Z"
View Source
const GeneratorStart = "2026-09-24T12:00:00Z"
View Source
const LocalScanNames = "" /* 134-byte string literal not displayed */

Variables

This section is empty.

Functions

func SeedBattleGenerator

func SeedBattleGenerator(ctx context.Context, db SQLWriter) error

func SeedFittings

func SeedFittings(ctx context.Context, db SQLWriter) error

Disposable accounts 4242/4343 are seeded by the browser fixture. They are in different corporations but share an alliance, exercising both scopes.

func SeedScans

func SeedScans(ctx context.Context, db SQLWriter) error

Types

type SQLWriter

type SQLWriter interface {
	Exec(context.Context, string, ...any) (pgconn.CommandTag, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL