sol-army-knife

Swiss army knife for Solidity testing.

Usage no npm install needed!

<script type="module">
  import solArmyKnife from 'https://cdn.skypack.dev/sol-army-knife';
</script>

README

sol-army-knife

Swiss Army Knife for Solidity testing. Convenient tools you will need when writing Javascript tests for your Solidity contracts.

Requirements

  1. Node/NPM
  2. Solidity contract to test
  3. Truffle (this library uses Truffle's injected global.web3)

Install

npm install --save-dev sol-army-knife

SolAssert

Helpful assertions for Solidity Javascript testing. See README.

SolConstants

Solidity testing convenience constants. See README.

SolTimeMachine

Block and time manager for Solidity testing. See README.