Documentation ¶
Overview ¶
Package metadata contains variables used by tests
Index ¶
Constants ¶
This section is empty.
Variables ¶
var CCMode = "lifecycle"
CCMode is an identifier for the cc mode: lifecycle or lscc
var ChannelConfigPath = "test/fixtures/fabric/v2.2/channel"
ChannelConfigPath is the relative path to the generated channel artifacts directory
var CryptoConfigPath = "test/fixtures/fabric/v1/crypto-config"
CryptoConfigPath is the relative path to the generated crypto config directory
var Project = "gitee.com/wangyu288833/fabric-sdk-go-gm"
Project is the Go project name relative to the Go Path
var ProjectPath = ""
ProjectPath is the path to the source of fabric-sdk-go
var SDKConfigPath = "test/fixtures/config"
SDKConfigPath is the relative path to the SDK configuration test fixtures directory
var TestRunID = ""
TestRunID is an identifier for the current run of tests
Functions ¶
func GetProjectPath ¶
func GetProjectPath() string
GetProjectPath returns the path to the source of fabric-sdk-go. More specifically, this function searches for the directory containing the project's go.mod file. This function must only be called from tests.
Types ¶
This section is empty.