Skip to content

Commit

Permalink
Note that you can run test with truffle test alone
Browse files Browse the repository at this point in the history
  • Loading branch information
GNSPS committed Aug 19, 2018
1 parent d639a02 commit 19838fe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ truffle compile
truffle migrate
```

Or run the tests with:

```
truffle test
```

Two artifacts will then be created for you: `<contract_name>_ctor.json` and `<contract_name>_runtime.json` which can then be imported normally into Truffle deployments/tests like `const <contract_name>_ctor = artifacts.require("<contract_name>_ctor");`. 😄

-----
Expand Down

0 comments on commit 19838fe

Please sign in to comment.