Fork me on GitHub
#kaocha
<
2022-04-04
>
Nikolas Pafitis10:04:42

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?

plexus13:04:30

Are you using Chui?

Nikolas Pafitis14:04:17

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

plexus12:04:29

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

plexus12:04:15

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 Pafitis13:04:09

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

plexus13:04:57

no worries 🙂

richiardiandrea19:04:58

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

richiardiandrea19:04:45

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