Skip to content

BrightNorth/cljs-om-testing-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cljs-om-testing-example

An example repo demonstrating unit and browser-testing an Om application.

See the blog post for more info.

Usage

Development

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)

Running the tests

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.

About

Example repo demonstrating unit and browser-testing an Om application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published