Documentation
¶
Overview ¶
Package testutil provides shared helpers for integration tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IntegrationConfig ¶
IntegrationConfig returns a Config for integration tests and skips the test if no API key is available. Tests that call this are safe to run in CI by setting SUPERMODEL_API_KEY; on developer machines the local config file is used as a fallback.
func MinimalGoDir ¶
MinimalGoDir creates a temp directory with a tiny Go repository and returns its path. Useful when commands need a directory rather than a ZIP.
func MinimalGoZip ¶
MinimalGoZip writes a tiny Go repository into a temp ZIP file and returns its path. The caller is responsible for removing it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.