It would just require three simple things:
1. A condition that can be specified for a scenario that tells you whether it "passed". It should have three options:
a. "Last transaction output == ###"
b. "Contract state at index == ###"
c. "Contract funds == ###"
2. When you "run" a scenario, it should say "passed/failed" somewhere with a green/red color
3. On the scenario menu, you should have an option called "Run all scenarios" which shows you a list of which scenarios passed or failed.
0 ·
Comments