Insulin 💉
Flexible, universal and fast Smart Contract testing framework written in Go
It uses Goblin as a testing library for a mocha-like experience.
Insulin also integrates with MythX out of the box for easy smart contract security analysis
Insulin is a great remedy for those you had too much sweet 🍬
Installation
git clone git@github.com:jeffprestes/insulin.git
And then
make all
You need to have the Go installed
Usage
Installing
insulin init
This will create a contracts folder where you should leave your .sol
files
Compiling
insulin compile
This will create the contracts artifactis in the artifacts
folder
Testing
insulin test make
This will create auxiliary test files.
Write your own test in the file test/your_contract_test.go
To run the tests
insulin test run
Analyzing
insulin analyze
Will send the .sol
files to MythX