test-check

2017-11-17T14:17:34.000378Z

@nwjsmith do you have a jira account?

2017-11-17T14:20:27.000064Z

In any case I just created https://dev.clojure.org/jira/browse/TCHECK-135

nwjsmith 2017-11-17T15:02:15.000604Z

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

nwjsmith 2017-11-17T15:07:16.000404Z

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?

2017-11-17T16:02:30.000478Z

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

2017-11-17T16:02:44.000746Z

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

nwjsmith 2017-11-17T16:04:46.000571Z

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

2017-11-17T16:04:50.000051Z

@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

nwjsmith 2017-11-17T16:05:50.000523Z

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

nwjsmith 2017-11-17T16:06:14.000342Z

Can't assign myself unfortunately.

2017-11-17T16:08:38.000075Z

haha great

2017-11-17T16:09:29.000089Z

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

2017-11-17T16:21:52.000215Z

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

nwjsmith 2017-11-17T16:24:16.000475Z

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

👍 1
2017-11-17T16:27:45.000455Z

core.async and spec.alpha sound plausible also

👍 1
alexmiller 2017-11-17T16:29:31.000034Z

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

nwjsmith 2017-11-17T16:29:48.000087Z

Thanks Alex!

alexmiller 2017-11-17T16:30:12.000334Z

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)

alexmiller 2017-11-17T16:30:49.000624Z

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)

alexmiller 2017-11-17T16:31:21.000604Z

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

alexmiller 2017-11-17T16:31:45.000037Z

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

2017-11-17T16:32:34.000407Z

👍 thanks @alexmiller

alexmiller 2017-11-17T16:32:40.000357Z

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

alexmiller 2017-11-17T16:33:30.000482Z

uses nashorn I believe

2017-11-17T16:37:14.000186Z

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

nwjsmith 2017-11-17T16:38:16.000610Z

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

alexmiller 2017-11-17T16:39:15.000446Z

oops! reading comprehension fail. fixed.

nwjsmith 2017-11-17T16:39:35.000387Z

Thanks

nwjsmith 2017-11-17T16:40:59.000021Z

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

2017-11-17T16:44:35.000187Z

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