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.
Click to show internal directories.
Click to hide internal directories.