fabric-sdk-go: github.com/hyperledger/fabric-sdk-go/test/metadata Index | Files

package metadata

import "github.com/hyperledger/fabric-sdk-go/test/metadata"

Package metadata contains variables used by tests


Package Files

metadata.go path.go


var ChannelConfigPath = "test/fixtures/fabric/v1.4/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 = "github.com/hyperledger/fabric-sdk-go"

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

func GetProjectPath Uses

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.

Package metadata imports 5 packages (graph) and is imported by 4 packages. Updated 2019-08-31. Refresh now. Tools for package owners.