An open API service indexing awesome lists of open source software.

https://github.com/yzevm/solidity-truffle-testing-starter-kit

Starter kit for testing ethereum smart contract
https://github.com/yzevm/solidity-truffle-testing-starter-kit

ethereum smart-contracts solidity testing truffle

Last synced: 5 months ago
JSON representation

Starter kit for testing ethereum smart contract

Awesome Lists containing this project

README

          

# solidity-truffle-testing-starter-kit

[![Build Status][travis-image]][travis-url]
[![Coverage Status][coveralls-image]][coveralls-url]
[![License: MIT][license-image]][license-url]

Thanks [@obernardovieira](https://github.com/obernardovieira) for great [guide](https://forum.openzeppelin.com/t/test-smart-contracts-like-a-rockstar/1001)

### Usage

```sh
npm ci

npm run test

npm run coverage

npm run test:gasless
```

Node.js v12.10.0 works for me

### Gas report

![gas report](https://user-images.githubusercontent.com/31797554/83819083-a08a1100-a6d1-11ea-839f-ac0d0861e0e6.png)

[travis-image]: https://travis-ci.org/yegorzaremba/solidity-truffle-testing-starter-kit.svg?branch=master
[travis-url]: https://travis-ci.org/yegorzaremba/solidity-truffle-testing-starter-kit
[coveralls-image]: https://coveralls.io/repos/github/YegorZaremba/solidity-truffle-testing-starter-kit/badge.svg?branch=master
[coveralls-url]: https://coveralls.io/github/YegorZaremba/solidity-truffle-testing-starter-kit?branch=master
[license-image]: https://img.shields.io/badge/License-MIT-yellow.svg
[license-url]: https://opensource.org/licenses/MIT