Chaincode Unit Testing
One of the most important tasks in application development is testing. The same is true for chaincode development.
There are plenty of test frameworks for Node.js and you are encouraged to use any of them. There are no limitations or recommendations from the Hyperledger Fabric side. The testing framework is a matter of personal preference.
In this course, we do not want to force you to use a specific framework. Therefore, you have room for experimentation with both unit testing and logging. As a starting point, you can refer to the examples provided by Hyperledger Fabric developers in the fabric-samples repository.
Last updated
Was this helpful?