As we all aware about smart contract testing using truffle framework. Currently, we are writing the test scripts either in solidity or in java-script manually. Is there any way so that I can auto generate the test scripts for my smart contracts without doing hard coding?? What are the APIs for smart contracts? How to use those APIs?
Eventually, I want to develop a generic code which is capable of writing test scripts for smart contracts automatically, for which I just have to set the test cases in modular ways.