Preparing the testing environment

To test our contracts, we need first to check whether they compile properly without any errors. As we did at beginning of this chapter, open your Terminal and place yourself in the tontine/ folder we created earlier, then compile the contracts using either truffle compile or truffle compile-all.

The second of these will compile all contracts instead of intelligently choosing which contracts need to be compiled. Now, have a look at the console output:

We will get a single, irrelevant warning that we can ignore and advance toward migrating the contract.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset