Closed zjhmale closed 8 years ago
There should be a way to get this running without falling back to the deprecated project though.
ok let me find a way to running without falling back to the deprecated project
great, thanks for spearheading this
I have figured it out. I will create a gist and post a link here later today. It actually would involve vendoring a couple of JS shims and phantom runner script.
FWIW, I've been using doo without complaints. I was previously using shims, but doo takes care of it for you can can run on multiple js environments.
For reference: https://github.com/reagent-project/reagent-cookbook/tree/master/recipes/test-example
@gadfly361 Oh, that is very good example. In my honest opinion, this setup should be generated by +test
here.
that seems reasonable to me
using speclj
maybe a good solution, i figured it out yestoday and used in my project, i will push codes to this pull request today lately.
@yogthos @waterlink @gadfly361 now use speclj
to do the unit test, and i lein install
in my local env and everything works fine.
@zjhmale This is sweet! After removing the clojurescript.test plugin, this ran for me (lein cljsbuild test unit
).
@yogthos If you decide to invclude, I wonder if this should go in +test
or if it should be a separate option like +spec
(and keep +test
for vanilla cljs.test)
I think if this works more reliably then might make sense to default to specj then.
@gadfly361 remove the deprecated plugin away, and +spec
option is a good idea, i will working on that today.
@yogthos use speclj is reliable enough, add a +spec
option and keep using cljs.test
with +test
option is more reasonable i think.
sounds good to me, let's go with the +spec
option
:+1: for +spec
version.
Though +test
version will stay broken in this case. But that is OK, I will create a PR to fix it then later.
@yogthos @waterlink @gadfly361 +spec
option is freeze.
:+1:
looks like everything's in order, I'll merge and push the new template out? :)
@yogthos yes it's ready for merge, i tested the new template and everything works fine :)
nice work getting this working everybody :+1:
it's my pleasure :)
and all the latest should be up on Clojars
if we don't use the deprecated project clojurescript.test, it's will emit a error when
lein cljsbuild test