skustest

package
v0.0.0-...-8a10f5f Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package skustest provides utilities for testing skus. Do not import this into non-test code.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanDB

func CleanDB(t *testing.T, datastore *sqlx.DB)

CleanDB - clean up the test db fixtures

func Migrate

func Migrate(t *testing.T)

Migrate - perform a migration for skus

func SetupKafka

func SetupKafka(ctx context.Context, t *testing.T, topics ...string) context.Context

SetupKafka is a test helper to setup kafka brokers and topic

Types

This section is empty.

Jump to

Keyboard shortcuts

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