How to test :
-
install Truffle and initialize your project with
truffle init
.npm install -g truffle mkdir myproject && cd myproject truffle init
-
install packages
npm install
-
run ganache
npm run ganache
-
Compile migrate and test
truffle compile truffle migrate truffle test