kaocha

Nikolas Pafitis 2022-04-04T10:38:42.328019Z

Hey guys, there's something that confused me a bit when working with kaocha-cljs2. So i set up the whole thing including funnel with shadow, but what's weird is i noticed i can run my tests without using funnel, but also when i use funnel with -vv I can see in the logs when i run my tests. What's actually going ion?

plexus 2022-04-05T12:28:29.314349Z

yeah in that case Chui can run standalone, so if you mean you are "running tests" from the GUI then that's what's happening

plexus 2022-04-05T12:30:15.006689Z

The way to think about this is that there's a ClojureScript "headless" test runner, namely chui-core. This is just an API, it doesn't do much by itself. Chui-ui provides a browser-based UI. Kaocha-cljs2 provides a CLI interface, by remote controlling chui-core via chui-remote+funnel

Nikolas Pafitis 2022-04-05T13:41:09.101649Z

@plexus I see, thanks for the explanation. Sorry for cross-posting, I don't know whether you're part of the lambdaisland team or not.

plexus 2022-04-05T13:42:57.482309Z

no worries 🙂

plexus 2022-04-04T13:25:30.108069Z

Are you using Chui?

Nikolas Pafitis 2022-04-04T14:16:17.707659Z

I don't have an explicit dependency on chui but yes, using chui with the gui interface.

richiardiandrea 2022-04-04T19:13:58.508429Z

Hi there, can I set :bindings per suite? or based on an env var? My use case is to reduce test timeout when developing locally vs having a bigger timeout in CI

richiardiandrea 2022-04-04T19:18:45.969869Z

Oh ok I think I can use :profiles for that actually