0.1.2 • Published 8 years ago

michikoid-web3-mocha-ui v0.1.2

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

web3-mocha-ui

TDD ui for mocha js, extrended for use with smart contracts and web3.

Reason for this to exist: There are several implementations of mocha and ethereum around. Its a obvious and simple choice for the JSON rpc API. The test frameworks are mostly bundled with frameworks. So this aims to the purist.

Install

npm install michikoid-web3-mocha-ui --save

Usage

The TDD and BDD style syntax is available. There are some extra methods available:

  • getWeb3() - gives you a configured web3 object
  • snapshot(fn) - creates a snapshot on testrpc
  • restore(id, fn) - restores a snapshot
  • getSnapshotIds() - get all snapshot ids as array

Design Rationale

  • this provides no deployment infrastructure
  • delivers pure web3 objects
  • goal: fast integration testing with testrpc
0.1.2

8 years ago

0.1.1

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago