Is there an error message of any kind? Does the
stefon_compojure_test.js file contain deftest forms, etc?
- Chas
On 01/05/2014 04:25 PM, Timothy Washington wrote:
Just a basic question to get me going with clojurescript.test
<https://github.com/cemerick/clojurescript.test> and lein-cljsbuild
<https://github.com/emezeske/lein-cljsbuild>. My clojurescript source
and tests are compiling. But the tests are not running, using the
*/lein cljsbuild test/* command.
I've probably just been looking at this too long. Which switch should
I flip?
*/project.clj/*
...
:cljsbuild {:builds [{:source-paths ["src/cljs" "test/cljs"]
:compiler {:output-dir
"public/include/js"
:output-to "public/include/js/stefon_compojure.js"
:optimizations :simple
:pretty-print true}}]
:test-commands {"unit-tests" ["phantomjs" :runner
"window.literal_js_was_evaluated=true"
"public/include/js/stefon_compojure_test.js"]}}
...
*/directory structure /*
$ tree {src,test,public}
src
└── cljs
└── stefon_compojure.cljs
test
└── cljs
└── stefon_compojure_test.cljs
public
├── include
│ └── js
│ ├── cemerick
│ │ └── cljs
│ │ ├── test.cljs
│ │ └── test.js
│ ├── cljs
│ │ ├── core.cljs
│ │ └── core.js
│ ├── clojure
│ │ ├── string.cljs
│ │ └── string.js
│ ├── stefon_compojure.js
│ └── stefon_compojure_test.js
Thanks
Tim Washington
Interruptsoftware.com <http://interruptsoftware.com>
--
Note that posts from new members are moderated - please be patient
with your first post.
---
You received this message because you are subscribed to the Google
Groups "ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google Groups "ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.