Re: Testing strategies for cljc files

2015-05-05 Thread Leon Grapenthin
You will have to import cljs.test and clojure.test conditionally for the respective platforms. Their APIs are very similar. Some conditionals might have to be added, depending on your use. On Wednesday, May 6, 2015 at 12:12:51 AM UTC+2, Daniel Compton wrote: > > I'm wanting to migrate some files

Testing strategies for cljc files

2015-05-05 Thread Daniel Compton
I'm wanting to migrate some files to cljc so a library can be used in Clojure and ClojureScript. I want to be able to run the same test suite against the Clojure and ClojureScript versions. What is the testing story for cljc files? If I made my test files cljc files as well, could I run clojure.te