Documentation
¶
Overview ¶
Package testutils provides common testing utilities for capturing program output
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CaptureMainOutput ¶
func CaptureMainOutput(mainFunc func()) string
CaptureMainOutput captures stdout while running the provided main function and returns the output
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.