An example repo demonstrating unit and browser-testing an Om application.
See the blog post for more info.
First do, from the command line, lein repl to get a REPL.
Then,
(run)and point a browser at http://localhost:10555
Now execute in the REPL:
(browser-repl)lein cljsbuild test to run the unit tests in PhantomJS, which must be installed on your system
lein autotest to run the unit tests in autotest mode (where saving a file automatically reruns the tests)
lein e2e to run just the end-to-end tests, in Chrome; requires ChromeDriver on your system
lein test to run all unit and e2e tests.