kaocha

Official support channel: https://clojureverse.org/c/projects/kaocha
svt 2020-08-22T04:01:15.061500Z

Do you have any plans to have it in future?

2020-08-22T04:50:41.064100Z

Okay spent a bit more time reading Chui and Kaocha-cljs2. It looks like the shadow configs assume access to the dom and that they will run in the dom. This causes our tests to fail because obviously node’s encryption lib doesn’t exist in the browser and Chui wants to run that test in the browser.

2020-08-22T04:52:15.065100Z

Starting up a seperate node process that has the chui preload doesn’t really do anything AFAICT

2020-08-22T04:52:38.065600Z

and so I am guessing my misunderstanding is how Chui plays into the bigger picture.

plexus 2020-08-22T09:09:55.068500Z

Kaocha-cljs2 is still pre-alpha, not everything is there yet. What's mostly working is shadow+browser, and working but not documented and requiring a cljs patch is vanilla cljs+node. The shadow-runner ns needs work to detect if it's running on node.

plexus 2020-08-22T09:13:49.071900Z

So prepare to do a lot of legwork if you already want to use it. Still several known issues. Failing assertions don't have correct file/line numbers. Watch mode doesn't play nice with kaocha-cljs2 yet. The good news is that all the major pieces are there and we can start improving things incrementally, which means it's a really great time to jump in an become a contributor.

plexus 2020-08-22T09:15:53.073600Z

I'll try to put some time into docs and issues so we have more of a roadmap, I think that makes sense at this point. @wxitb2017 has already opened some issues and pull requests which is really appreciated.

plexus 2020-08-22T09:17:23.075Z

Some good news on the cljs front though, I got some feedback on my patch and it seems with a little work it should be possible to get that in soonish.

2020-08-22T17:46:52.080600Z

I would love to at least push forward the node+shadow portion of this because it will directly benefit me at work so being a bit selfish there 😄. But sure I can definitely give extending or fixing some small bugs a shot