solidity-test
A simple node module to aid smart contract development in testing contracts. Initially created due to the desire to modularize testing for revert
s, now looking to expand into something more definite.
Quick Example
const solidityTest = ;const solAssert = solidityTestsolAssert; const notOwner = '0x00000000000000000000000000000000000'; //Within Mocha:
And, if perhaps testing for ownership, and wanting to be strict about the kind of error received:
const solidityTest = ;const solAssert = solidityTestsolAssert;const errors = solidityTesterrors; const notOwner = '0x00000000000000000000000000000000000'; //Within Mocha: