Documentation

Overview

    Package metadata contains variables used by tests

    Index

    Constants

    This section is empty.

    Variables

    View Source
    var CCMode = "lifecycle"

      CCMode is an identifier for the cc mode: lifecycle or lscc

      View Source
      var ChannelConfigPath = "test/fixtures/fabric/v2.2/channel"

        ChannelConfigPath is the relative path to the generated channel artifacts directory

        View Source
        var CryptoConfigPath = "test/fixtures/fabric/v1/crypto-config"

          CryptoConfigPath is the relative path to the generated crypto config directory

          View Source
          var Project = "github.com/hyperledger/fabric-sdk-go"

            Project is the Go project name relative to the Go Path

            View Source
            var ProjectPath = ""

              ProjectPath is the path to the source of fabric-sdk-go

              View Source
              var SDKConfigPath = "test/fixtures/config"

                SDKConfigPath is the relative path to the SDK configuration test fixtures directory

                View Source
                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.