Closed anvacaru closed 2 years ago
@anvacaru and @gtrepta can we add some tests of this functionality as well? Just a single Solidity file -> generated report files, and diff the files should be enough.
Or we can just make sure the tool runs smoothly, and not record the output, as an initial test. But it probably would be better to start with too strong of testing (with the output files) and weaken it as it gets annoying.
Writing tests
pyiele
needs to be imported.port
,passphrase
,spending-key
,gas-limit
and other parameters are defined in the config.py file.deploy_contract(walletId, sender, bytecode)
.run_function(f_name, f_args, walletId, sender, to)
.send(rpc)
.Running tests