Created
January 5, 2017 21:50
-
-
Save christoph2806/b9ba020501d7f10686c2a075e009b445 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ truffle init | |
$ truffle compile | |
Compiling ConvertLib.sol... | |
Compiling MetaCoin.sol... | |
Compiling Migrations.sol... | |
Writing artifacts to .\build\contracts | |
$ truffle migrate | |
Running migration: 1_initial_migration.js | |
Deploying Migrations... | |
Migrations: 0x1fbfe6bcb1d85bae5cf11585c6927262dd06ebf1 | |
Saving successful migration to network... | |
Saving artifacts... | |
Running migration: 2_deploy_contracts.js | |
Deploying ConvertLib... | |
ConvertLib: 0xe22ddaf149c1433ea458e0033a2002e13941e53f | |
Linking ConvertLib to MetaCoin | |
Deploying MetaCoin... | |
MetaCoin: 0xa07ca160fe33117ea8bdb43ca5d6fd472214dfbe | |
Saving successful migration to network... | |
Saving artifacts... | |
$ truffle test | |
Contract: MetaCoin | |
√ should put 10000 MetaCoin in the first account | |
√ should call a function that depends on a linked library (45ms) | |
√ should send coin correctly (110ms) | |
3 passing (474ms) | |
$ truffle console | |
truffle(default)> test | |
Contract: MetaCoin | |
√ should put 10000 MetaCoin in the first account | |
√ should call a function that depends on a linked library (58ms) | |
√ should send coin correctly (133ms) | |
3 passing (520ms) | |
truffle(default)> test | |
0 passing (1ms) | |
truffle(default)> test | |
0 passing (0ms) | |
truffle(default)> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment