mirror of
https://github.com/hanzoai/ca.git
synced 2026-11-03 18:08:27 +00:00
9 lines
477 B
Go
9 lines
477 B
Go
// Package ctlsuite supports administrative CLI tests with HTTP fixtures and gRPC mocks.
|
|
//
|
|
// CapturePrint records the output of a test, with the address of the mock
|
|
// server replaced by "{server}". TearDownSuite compares it with the suite's
|
|
// golden file, testdata/prints_<suite test>.txt (testutils.CheckGolden); run
|
|
// with TRUSTYCA_UPDATE_GOLDEN=1 to rewrite it. AfterApply changes global
|
|
// formatter configuration, so suites must not run in parallel.
|
|
package ctlsuite
|