diff --git a/README.md b/README.md index 6b8bca1..25adf35 100644 --- a/README.md +++ b/README.md @@ -114,3 +114,10 @@ Docstrings for the methods and namespaces are adjusted to ClojureScript from the ## DAPPS using cljs-web3 * [emojillionaire](https://github.com/madvas/emojillionaire) * [ethlance](https://github.com/madvas/ethlance) + +## Testing + +1. Start figwheel `lein figwheel` +2. Open http://localhost:6612/ in the browser +3. Run `testrpc -p 8549` (Install testrpc with `npm install -g ethereumjs-testrpc` https://github.com/ethereumjs/testrpc) +4. Run `(cljs-web3.run-tests/run-all-tests)` inside cljs repl. diff --git a/project.clj b/project.clj index bb68dfb..3dc7725 100644 --- a/project.clj +++ b/project.clj @@ -20,6 +20,7 @@ [binaryage/devtools "0.8.1"] [com.cemerick/piggieback "0.2.1"] [figwheel-sidecar "0.5.13"] + [print-foo-cljs "2.0.3"] [org.clojure/tools.nrepl "0.2.11"]] :plugins [[lein-figwheel "0.5.13"]] :source-paths ["env/dev"]