test

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

README

Test

The test directory contains all test cases for the media workflows, if you'd like to test manually, and have a clean environment execute the following in order:

bazel build //...

# Reads the test media file
bazel test //test/workflow:media_ingestion

# Create the embeddings
bazel test //test/workflow:media_embeddings

# Run a test cast, find all segments with Woody Harrelson AKA Carnage
bazel test //test/services/...

Example Output

Here you should see the media file ID, and the segment sequence number.

0192aa4e-e375-7f26-aaec-ebe4fb4d803b - 25
0192aa4e-e375-7f26-aaec-ebe4fb4d803b - 13
0192aa4e-e375-7f26-aaec-ebe4fb4d803b - 12
0192aa4e-e375-7f26-aaec-ebe4fb4d803b - 19
0192aa4e-e375-7f26-aaec-ebe4fb4d803b - 28

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfig

func GetConfig() *cloud.Config

func GetTestHighResMessageText

func GetTestHighResMessageText() string

func GetTestLowResMessageText

func GetTestLowResMessageText() string

func HandleErr

func HandleErr(err error, t *testing.T)

func SetupOS

func SetupOS() (err error)

Types

type StateManager

type StateManager struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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