ethereum / solidity-examples

Loose collection of Solidity example code
MIT License
532 stars 161 forks source link

Create the testing framework #35

Closed androlo closed 6 years ago

androlo commented 6 years ago

Framework uses solc to compile, and testeth to perform unit tests of Solidity contracts. The tests themselves are written in solidity, extends STLTest and uses some naming conventions to make them all uniform. Test fillers are auto-generated in javascript (fillerUtils.js).

androlo commented 6 years ago

this has now changed to use evm execution of test cases instead of testeth. testeth is good but comes with a lot of issues, including bad cross platform support. the way tests are run now means they can be executed in any evm - including the javascript one.

androlo commented 6 years ago

basic run through evm, works for now. the point of this is to keep it as simple as possible, to make conversion into new and better frameworks possible.