A question for TDD practitioners

2014-01-27 Thread Mimmo Cosenza
I do not practice TDD a lot, but I think that thanks to recent events clojurescript will attract people more sensible to TDD workflows. Due to a limitation of austin and clojurescript.test regarding :none optimisation, it's not possible to use it with them. So we have to switch to :whitespace (

Re: A question for TDD practitioners

2014-01-29 Thread Sean Johnson
I'm a bit more TDD inclined than the average Clojurian (having come over most recently from Ruby/Rails) and I have to say speed is king in TDD. I agree that source maps are life savers when you need to debug an issue in browser, but I don't really see how they'd be all that useful in the average

Re: [ClojureScript] A question for TDD practitioners

2014-01-29 Thread Mimmo Cosenza
Thanks Sean. Ok. I'll update the various lein templates in accordance with this choice. Unfortunately we still have to wait for cljsbuild to be extended to support the auto mode for test subtaks. I tested the feedback-loop with fsrun plug-in to automate the cljsbuild test subtask…….too slow….

Re: [ClojureScript] A question for TDD practitioners

2014-01-29 Thread Jamie Orchard-Hays
Wow. Props for the Modern Times reference! On Jan 29, 2014, at 4:50 PM, Mimmo Cosenza wrote: > Thanks Sean. > Ok. I'll update the various lein templates in accordance with this choice. > > Unfortunately we still have to wait for cljsbuild to be extended to support > the auto mode for test

Re: [ClojureScript] A question for TDD practitioners

2014-01-29 Thread Mimmo Cosenza
terminal 1: lein repl this is the repl for the clj code terminal 2: lein repl, (run), (browser-repl) this is the repl for the cljs code terminal 3: lein test-refresh this is clj test code in auto mode terminal 4: lein cljsbuild auto this is for recompiling the cljs source and source code terminal