From 19838fe427dad695f552221abcb8233c3b8bb8d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20S=C3=A1?= Date: Sun, 19 Aug 2018 13:09:40 +0100 Subject: [PATCH] Note that you can run test with `truffle test` alone --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 2bf3b09..df10c12 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,12 @@ truffle compile truffle migrate ``` +Or run the tests with: + +``` +truffle test +``` + Two artifacts will then be created for you: `_ctor.json` and `_runtime.json` which can then be imported normally into Truffle deployments/tests like `const _ctor = artifacts.require("_ctor");`. 😄 -----