What is the best way to write contracts in a TDD style? The eos source repo has unit tests which seem to be focused around testing the platform but my question is focused at the next level up (based on the assumption that the platform is tested and working). Therefore I would like to test the contract running on a running testnest (local for now).
My solution so far has been to use custom bash scripts calling the cleos
command with manual assertions like this but now I'm exploring options such as rspec
with rspec-command
so the assertions can be automated and the output more readable.