Basic testing workflow with Truffle – Part I

Julien Klepatch

In this video, I will show you what is the basic workflow when you test Solidity smart contracts with the Truffle framework. We are going to learn:

  • files / test folder organization
  • how to import smart contract into tests
  • how to implement the arrange / test / assert pattern in your test files

0 Comments

Leave a Reply

More great articles

Debugging “VM Exception: out of gas”

"Out of gas".. what a lovely Solidity error! This really use to make me mad when I started with Solidity…

Read Story

Isolate smart contract tests with Truffle clean room features

In Truffle tests, we have a mysterious contract() function: contract('my test', () => { if('it should ...', () => {…

Read Story

Testing integers in smart contract with Truffle and bn.js (Big Number)

In Solidity smart contract, you might have to deal with huge numbers, especially when doing financial transfers. Don't forget that…

Read Story

Never miss a minute

Get great content to your inbox every week. No spam.
[contact-form-7 id="6" title="Footer CTA Subscribe Form"]
Arrow-up