Fork me on GitHub
#keechma
<
2017-08-18
>
mihaelkonjevic19:08:33

@urbank here’s something interesting that just landed in keechma - ui component test helpers https://github.com/keechma/keechma/blob/master/test/keechma/test/ui_component/test_helpers.cljs

urbank19:08:46

@mihaelkonjevic Interesting. So at a glace this looks like a way to test a component without wiring up a whole app, correct?

mihaelkonjevic19:08:14

you can completely mock the subscriptions and child components

mihaelkonjevic19:08:08

these tests use a library I’m about to release (https://github.com/retro/syntest) which simulates user actions. It will work similar to http://funcunit.com (it’s using the same lib to simulate the user actions)

urbank19:08:01

Cool! I'll try it out tomorrow on the app 🙂