hellotest

package
v0.6.125 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: MIT Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package hellotest builds hello's components under a backplanetest harness, as NewState wires them, for the component tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tree

type Tree struct {
	H        *backplanetest.Harness
	StoreCfg *store.Config
	Store    deps.Dependency[*store.DB]
	GreetCfg *greeter.Config
	Greeter  *greeter.Greeter
}

Tree is a harness named hello with a store and a greeter under its root.

func New

func New(t *testing.T, vars map[string]string) *Tree

New builds the tree; greeter configuration comes from vars (names as in HELLO_GREETER_* without the prefix). Start it with t.H.Start().

Jump to

Keyboard shortcuts

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