Hey, thanks for following up. That's just it, there's no error message at
all. After a clean, I'll run the below command, and get the resulting
output. You can see the project
here<https://github.com/stefonweblog/stefon-compojure>(requires
stefon <https://github.com/stefonweblog/stefon>).

$ *lein cljsbuild test*
Compiling ClojureScript.
Compiling "public/include/js/stefon_compojure.js" from ["src/cljs"
"test/cljs"]...
WARNING: Use of undeclared Var stefon-compojure-test/deftest at line 5
test/cljs/stefon_compojure_test.cljs
WARNING: Use of undeclared Var stefon-compojure-test/somewhat-less-wat at
line 5 test/cljs/stefon_compojure_test.cljs
WARNING: Use of undeclared Var stefon-compojure-test/is at line 6
test/cljs/stefon_compojure_test.cljs
WARNING: cljs.core/+, all arguments must be numbers, got [cljs.core/IMap
cljs.core/IVector] instead. at line 6 test/cljs/stefon_compojure_test.cljs
WARNING: Use of undeclared Var stefon-compojure-test/deftest at line 8
test/cljs/stefon_compojure_test.cljs
WARNING: Use of undeclared Var stefon-compojure-test/javascript-allows-div0
at line 8 test/cljs/stefon_compojure_test.cljs
WARNING: Use of undeclared Var stefon-compojure-test/is at line 9
test/cljs/stefon_compojure_test.cljs
WARNING: Use of undeclared Var stefon-compojure-test/deftest at line 11
test/cljs/stefon_compojure_test.cljs
WARNING: Use of undeclared Var stefon-compojure-test/service at line 11
test/cljs/stefon_compojure_test.cljs
WARNING: Use of undeclared Var stefon-compojure-test/is at line 12
test/cljs/stefon_compojure_test.cljs
WARNING: Use of undeclared Var stefon-compojure-test/deftest at line 14
test/cljs/stefon_compojure_test.cljs
WARNING: Use of undeclared Var stefon-compojure-test/thing at line 14
test/cljs/stefon_compojure_test.cljs
WARNING: Use of undeclared Var stefon-compojure-test/is at line 15
test/cljs/stefon_compojure_test.cljs
Successfully compiled "public/include/js/stefon_compojure.js" in
14.111848268 seconds.



Tim Washington
Interruptsoftware.com <http://interruptsoftware.com>



On Mon, Jan 6, 2014 at 8:20 AM, Chas Emerick <[email protected]> wrote:

>  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.

Reply via email to