Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestNeoConfig ¶
type TestNeoConfig struct { // Original environment variables before modification OriginalEnvVars map[string]string // Managed environment variables to clean up ManagedEnvVars []string // Neo configuration NeoConfig *config.NeoConfig // Logger instance Logger *logger.Logger }
TestNeoConfig holds test configuration for Neo blockchain testing
func SetupNeoTestEnvironment ¶
func SetupNeoTestEnvironment(t *testing.T) *TestNeoConfig
SetupNeoTestEnvironment sets up the Neo test environment
func (*TestNeoConfig) CreateClient ¶
func (c *TestNeoConfig) CreateClient(t *testing.T) *blockchain.Client
CreateClient creates a new blockchain client for testing
func (*TestNeoConfig) GetWellKnownContractHash ¶
func (c *TestNeoConfig) GetWellKnownContractHash() string
GetWellKnownContractHash returns a known contract hash on the network for testing
func (*TestNeoConfig) TeardownNeoTestEnvironment ¶
func (c *TestNeoConfig) TeardownNeoTestEnvironment(t *testing.T)
TeardownNeoTestEnvironment cleans up the Neo test environment
Click to show internal directories.
Click to hide internal directories.