keechma

Keechma stack. Mention @U050986L9 or @U2J1PHYNM if you have any questions
kauko 2016-06-30T05:08:02.000121Z

Hmm, so I guess Funcunit is like a better selection and assertion library for Selenium?

kauko 2016-06-30T05:08:31.000122Z

can be used with other things besides Selenium, but I guess if you want to automate the tests, you'll have to use Selenium

kauko 2016-06-30T05:08:32.000123Z

or do you?

mihaelkonjevic 2016-06-30T06:51:46.000124Z

I’d say that FuncUnit is running in the browser while Selenium is running the browser. So Selenium has more features (for instance it can interact with file dialogs), but it’s also much slower. FuncUnit on the other hand is just triggering events on elements, so it’s much faster. Important thing is that FuncUnit is triggering correct events in correct order, so if you click on something it will trigger all events - mouseover, focus, mousedown, mouseup, blur… or whatever the correct ordering is. FuncUnit is using the syn lib (https://github.com/bitovi/syn) under the hood to actually trigger the events which I’m also wrapping in the syntest lib. The nice thing is that Clojure is giving much better API via channels than you could ever get with JavaScript

kauko 2016-06-30T07:26:55.000126Z

Alright, I think I get what you mean

kauko 2016-06-30T07:27:23.000127Z

I'm kind of hesitant about that kind of testing however, we used Selenium for a while and I don't really have many good things to say about it

kauko 2016-06-30T07:27:48.000128Z

I mean, some problems were because of Selenium itself - tests would fail on their own, they were quite slow, etc

kauko 2016-06-30T07:28:22.000129Z

but I'd say the biggest problem was just the nature of those tests - they took a long time to write, and very rarely they would a real problem

kauko 2016-06-30T07:28:55.000130Z

most of the time the errors they found was because an elements id/class changed, or we changed how a date picker or something like that works