command
Version:
v0.0.0-...-b3cf803
Opens a new window with list of versions in this module.
Published: Dec 5, 2021
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Fabric 2.0 Update
MockStub moved from shim package to shimtest package
The package needs to be installed before it can be used.
go get github.com/hyperledger/fabric-chaincode-go/shimtest
Demostrates the use of MockStub
- To run the test
go test -v
- To understand the behavior add new test functions to calc_test.go
- Add new files with test functions
Using the test script
set-chain-env.sh -n cctest
set-chain-env.sh -p testing/cctest
./test.sh
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.