apptest

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package apptest lets choktest and the batteries' tests reach what a test needs without a public API: chok fills in the hooks when it initializes, and choktest sets the knobs.

Index

Constants

This section is empty.

Variables

View Source
var PasswordCost atomic.Int32

PasswordCost, when positive, is the bcrypt cost identity hashes passwords with instead of its production cost. choktest sets it to bcrypt's minimum, so tests that register users stay fast; only test binaries import choktest.

View Source
var Ready func(app any) bool

Ready reports whether app, a *chok.App, has finished its start phase and is not stopping.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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