levand/domina — pull request #68 by magomimmo (2013-11-06 22:45:51+00:00)
Title: Restart

hi,
here is a pull request which started porting domina test on clojurescript.test as we did in enfocus.
At the moment I did not add the piggieback and the ring/compojure stuff, because I'll add autin later (it's much easier to setup).

* I moved the old unit test under the temp directory
* I added the cljsbuild :source-paths pathnames to the leiningen :source-paths and removed the :jar true setting
* I added the profiles.clj and moved into it all the configuration pertaining the dev profile
* I create a lot of standard unit tests. The *_standard_test.cljs files contain few of the test from the old tests. the one already implemented have been comment in the original tests in such a way the we know what has to be completed. The *edge_test.clj files contain the unit tests for the edge case.

I did not touch the original code (aside from a very little minutiae), but I think we should think better about the expected result from the edge case. I set the edge tests in such a way that all of them pass against the current code, but there few place where my personal opinion is that we should fix the code. But is something we can do later, when we would have ported all the old tests.

LMK what you think about it. At the moment we can stay with the 1.0.3-SNAPSHOT, because the codebase is not changed.

To test the pull request:

```bash
lein compile, test
```

All the 28 test/138 assertion passed with any optimisation level, but the none (which I do not specify as a test-command).

To run a single test-command (e.g. whitespace)

```bash
lein cljsbuild test whitespace
```

that's all

HIH