<
 
 
 
 
×
>
hide You are viewing an archived web page, collected at the request of Ethereum Foundation using Archive-It. This page was captured on 16:09:21 May 06, 2021 , and is part of the Community collection. The information on this web page may be out of date. See All versions of this archived page. Loading media information

Hi, any way we can have some simple "unit test" functionality in mix?

lisperatilisperati Member Posts: 5
edited November 2015 in Mix
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.

Comments

Sign In or Register to comment.