fabric-samples/asset-transfer-basic
Brett Logan 426cdf1f98 Add Tests and Mocks To Asset Transfer Chaincode
Many users raise questions on how to test chaincode. It used
to be much easier with the old shim, as they could directly
use the old mock stub in the shim. Now that it no longer exists
the fabcar example can provide an example of how to test chaincode.

Also worth noting is our current directory structure of our Go
chaincodes prevents the creation of mocks due to import cycles.
This change also pushes the chaincode logic down into a `chaincode`
package.

Signed-off-by: Brett Logan <brett.t.logan@ibm.com>
2020-07-10 05:59:22 -04:00
..
application-javascript Add filepath check for invoke (#222) 2020-07-02 13:36:47 -04:00
application-typescript Add application-typescript to asset-transfer-basci (#221) 2020-07-02 13:43:48 -04:00
chaincode-go Add Tests and Mocks To Asset Transfer Chaincode 2020-07-10 05:59:22 -04:00
chaincode-javascript Adding chaincode-js to asset-transfer-basic 2020-06-25 12:02:53 -04:00
chaincode-typescript Adding chaincode-typescript to asset-transfer-basic sample. 2020-06-25 12:06:13 -04:00
.gitignore Adding NodeJS app for asset-transfer-basic sample. (#206) 2020-06-30 15:36:47 -04:00