Fork me on GitHub
#test-check
<
2017-11-17
>
gfredericks14:11:34

@nwjsmith do you have a jira account?

nwjsmith15:11:15

@gfredericks yes! I'm nwjsmith in Clojure JIRA, and I've signed the CLA

nwjsmith15:11:16

Feel free to assign that to me. I got the tests running on the latest CLJS last night, but the approach I took might require a larger overhaul of how the tests are currently run. Do you mind if I make some substantial changes in that area?

gfredericks16:11:30

@nwjsmith if you're confident that your changes are making the orchestration more idiomatic for lein-cljsbuild setups, then that's fine with me

gfredericks16:11:44

I don't use modern cljs much at all so I can't easily judge those things

nwjsmith16:11:46

I'm confident that's the case. Will be taking my lead from Om's test running and some stuff we have internally

gfredericks16:11:50

@nwjsmith I see your user page, but the full-name-based dropdown that jira gives me on the ticket edit page does not have your name under 'Nate Smith' or anything similar; seems like a bug, but perhaps you can assign it to yourself? /cc @alexmiller

nwjsmith16:11:50

Weird. Not sure if this helps but here's a ticket I'm the reporter on: https://dev.clojure.org/jira/browse/CLJ-2079

nwjsmith16:11:14

Can't assign myself unfortunately.

gfredericks16:11:29

I'll just keep it assigned to myself ¯\(ツ)

gfredericks16:11:52

@nwjsmith if there are any other contrib projects with cljs tests, those would be an interesting comparison point

nwjsmith16:11:16

Good call, looks like tools.reader is a good example

gfredericks16:11:45

core.async and spec.alpha sound plausible also

Alex Miller (Clojure team)16:11:31

@gfredericks @nwjsmith your user wasn’t in the right groups to do edit/assign - I fixed and assigned that ticket

nwjsmith16:11:48

Thanks Alex!

Alex Miller (Clojure team)16:11:12

re cljs tests, note that the official build file for all contrib projects is the pom.xml (as that’s what the CI build uses)

Alex Miller (Clojure team)16:11:49

and the pom.xml uses clojure-maven-plugin which doesn’t know or understand cljs (at least in the version we are forced to use due to jvm and maven versions)

Alex Miller (Clojure team)16:11:21

many projects have parallel project.clj files which people use to run cljs tests locally

Alex Miller (Clojure team)16:11:45

a few projects have started to experiment with ways to integrate these - I think data.xml is the most robust example of that

Alex Miller (Clojure team)16:11:40

it’s done by integrating the cljs tests into the clojure tests directly

gfredericks16:11:14

Oh interesting @nwjsmith if you go the nashorn route I think it'd be good to maintain the ability to easily run with node as well

nwjsmith16:11:16

@alexmiller oops I think I got assigned to the wrong ticket, should be TCHECK-135

Alex Miller (Clojure team)16:11:15

oops! reading comprehension fail. fixed.

nwjsmith16:11:59

I'll look into integrating the CLJS tests with the Clojure ones as well.

gfredericks16:11:35

getting the cljs tests to run via maven is a nice-to-have; if it's much harder, just getting clojurescript upgraded is fine