ckirkendall/enfocus — pull request #65 by magomimmo (2013-10-02 11:17:43+00:00)
Title: 2.0.1 snapshot

Hi Creighton,
in this pull request I did the following:

* prepared everything for implementing clojurescript.test unit tests: added `[cemerick.clojurescript/clojurescript.test "0.0.4"]`, added `phantomjs`, added `:test-commands` to `:cljsbuild` and created the `test/clj` and `test/cljs` dirs where to implement the unit tests (I don't think we should implement clj unit test, but eventually the `test/clj` dir can be removed later);
* removed the `testing` dir and moved its stuff directly under the `resources/public` dir
* added the `:simple` and the `advanced` builds to be able to test all the different compiler optimization
* added the ring 1.2.0 dep
* moved the enfocus ring stuff under the `src/clj` dir
* moved the `testing.cljs` file and the `html` dir under a `temp` directory to have them as a reference for implementing unit testing with clojurescript.test

At the moment all the testing stuff is only there as a reference for implementing unit testing with clojurescript.test lib and I did not touch any source code. obviously it will not work.

You know your stuff much better then me to start implementing few unit test with clojurescript.test. Probably, as said, we should use the fixture `:each` feature for this unit testing stuff.

If you nee some guidance on implementing unit tests with clojurescript.test you can eventually take a look at https://github.com/magomimmo/modern-cljs/blob/master/doc/tutorial-16.md

That said, we're dancing on the edge, but I'm pretty confident we should be able to land on a safer place. When everythin will be clearer I think we should introduce the lein profiles in such a way to keep separated the dev stuff from the user stuff.

That's all. Hope it helps