Skip to content

Versal/shuttle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shuttle

Shuttle is an integration testing helper that can make frontend/JS calls and verify state changes on the backend/JVM.

Usage

lein test will run all the tests. Currently there's only one test that verifies an Ajax submission.

How it works

The test runner uses cemerick/yonder to initialize a nREPL and upgrade it to a Clojurescript repl. Yonder opens the browser to resources/private/html/test.html. The page connects to the waiting REPL on port 9000, and is now ready to eval Clojurescript.

More info

Extending

Add frontend tests to src/cljs/test.cljs

Add backend tests to test/shuttle/core_test.clj.

About

ClojureScript/Clojure true integrated testing for JavaScript and JVM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published