This setup includes the ability to use/test native JS libs in 3 different
ways, which required a bit of a struggle (i.e. trial & error) to get the
syntax right. Here are the native JavaScript files in ~/resources:
~/expr/cljs-template > tree resources
resources
└── public
├── css
│ └──
You can see the source layout as follows:
~/expr/cljs-template > tree src test
src
├── clj
│ └── flintstones
│ └── test_clj.clj
├── cljc
│ └── flintstones
│ ├── bambam.cljc
│ ├── core.cljc
│ ├── slate.cljc
│ └── test_cljs.cljc
└── cljs
└── flintstones
I have a nice setup for CLJS testing using the `doo` test framework. It
can run tests either at the command line using `phantomjs` or in the
browser (eg Chrome). It has source and test dirs segregrated into `clj`,
`cljc`, and `cljs` subdirs so you can get macros and dual-use code working
I'm currently researching different methods for testing clojurescipt code,
specifically unit testing, automated browser testing and code coverage. I'm
specifically trying to find more information about the use of cljs.test and
cljs.spec either individually or together. Could anyone share any