Documentation
¶
Overview ¶
Package helpers provides utilities for integration tests
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLargeContent ¶
func GetLargeContent() string
GetLargeContent returns large content for stress testing
func GetRepetitiveContent ¶
func GetRepetitiveContent() string
GetRepetitiveContent returns content with repetition
Types ¶
type SampleContent ¶
SampleContent provides test data fixtures
func GetCodeSamples ¶
func GetCodeSamples() []SampleContent
GetCodeSamples returns sample code for testing
type TestEnvironment ¶
TestEnvironment provides a clean test environment
func NewTestEnvironment ¶
func NewTestEnvironment(t *testing.T) *TestEnvironment
NewTestEnvironment creates a new test environment
func (*TestEnvironment) CreateDir ¶
func (e *TestEnvironment) CreateDir(t *testing.T, path string) string
CreateDir creates a test directory
func (*TestEnvironment) CreateFile ¶
CreateFile creates a test file with content
func (*TestEnvironment) SetEnv ¶
func (e *TestEnvironment) SetEnv(key, value string)
SetEnv sets environment variables for the test
Click to show internal directories.
Click to hide internal directories.