This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-06-30
Channels
- # aws (1)
- # bangalore-clj (1)
- # beginners (73)
- # boot (13)
- # cider (3)
- # clara (19)
- # cljs-dev (33)
- # cljsrn (37)
- # clojure (177)
- # clojure-dev (13)
- # clojure-gamedev (1)
- # clojure-italy (10)
- # clojure-nlp (1)
- # clojure-russia (1)
- # clojure-spec (64)
- # clojure-uk (128)
- # clojurescript (177)
- # core-async (23)
- # cursive (5)
- # datascript (13)
- # datomic (20)
- # devops (49)
- # emacs (13)
- # graphql (5)
- # hoplon (13)
- # keechma (1)
- # leiningen (3)
- # liberator (4)
- # lumo (2)
- # off-topic (11)
- # om (19)
- # om-next (3)
- # onyx (6)
- # re-frame (13)
- # reagent (14)
- # ring-swagger (7)
- # rum (2)
- # spacemacs (7)
- # unrepl (1)
- # untangled (23)
- # vim (8)
- # yada (1)
@thedavidmeister would you be willing to rework the tests in another PR?
I personally dont use tests yet but I thinkt the cljs direction would be faster?
sooo much better
i would be happy to put up a PR that moves the selenium tests to cljs equivalents
- all the web driver wrappers i know about for clojure are essentially unmaintained
- selenium seems to inevitably come with "random" bugs that cause builds to fail quite often when you have 1k+ assertions
- cljs tests are at least one or two OOM faster because there's no need to setup a web server and render entire pages to test one tiny element in the DOM
- it's much easier to write tests that make assertions directly against DOM elements generated by hoplon than trying to scrape the DOM (e.g. what if a previous test mutated the element that you want to inspect?)
- selenium commonly breaks when a new version of chrome/firefox comes out, not because your code is broken but because web driver needs an update to its interface with the browser version you want to use
i'll just put up a tx now
@flyboarder https://github.com/hoplon/hoplon/issues/174 is a perfect example of something you might want to spend 10-15 mins writing some simple tests for if you had cljs tests in place 🙂