Skip to content

fipciu1996/SolidityTesting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Truffle Zeppelin Boilerplate

Minimalistic base configuration for using Truffle with Open Zeppelin.

Note: babel-register is used to enable modern JavaScript syntax inside of truffle tests. This enables the use of Open Zeppelin test helpers.

Prerequisites

You will need the following to be installed on your system:

  • Node.js (8.2+)
  • Yarn (1.3.2+)

Note: we recomand to always stick with the newest stable version of node and yarn

Install

  1. Checkout the repository into a directory
git clone [email protected]:EthWorks/truffle-zeppelin-boilerplate.git .
  1. Install all packages with yarn
yarn

Note: All packages will be installed locally. Use yarn truffle to get access to the truffle command directly.

Running tests

  1. [Optional] Start the TestRPC mock ethereum client if you don't have a client configured for testing.

Note: please run this in a separate console

yarn run dev:testrpc
  1. Start the TestRPC mock ethereum client if you don't have a client configured for testing
yarn run dev:test

Made with ❤️ to Ethereum by ETHWORKS

About

Smart Contracts testing by truffle

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published