Fork me on GitHub
#cljs-dev
<
2020-09-12
>
plexus09:09:04

what's people's workflow for running tests locally? I'm a little lost between all the script/test* scripts...

plexus09:09:58

which js runtimes is it recommended to test against? should I install JSC? V8? ...

plexus11:09:46

@dnolen would it make sense to have a doc like that in the repo? or somewhere else?

plexus12:09:17

I guess we really no longer care about Nashorn? seems like several tests fail outright on nashorn

lread12:09:55

@plexus, there is this guide but I think it is now a bit out of date https://clojurescript.org/community/running-tests

plexus12:09:25

ah that's great, I guess I can merge my notes into there. I think we should also delete devnotest/testing or point it at that guide

plexus12:09:49

script/test-compile also seems vestigial or at least not doing much

lread12:09:42

the last time I looked at this guide I found it interesting to compare with what CI was doing https://github.com/clojure/clojurescript/blob/master/.travis.yml

plexus12:09:28

yeah I looked at those, also mentioned them in my writeup

plexus12:09:10

(gotta run)

lread13:09:09

Re Nashorn, I see the following in https://clojurescript.org/news/2020-04-24-release: > Rhino, Nashorn, and GraalJS REPLs have been removed

lread13:09:54

I did some work on cljs scripts a long while ago, dated now.. but my notes might help? https://clojure.atlassian.net/browse/CLJS-3075 https://clojure.atlassian.net/browse/CLJS-3098 I vaguely remember agreeing with @mfikes that rewriting these scripts in Clojure might be interesting…