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 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.test and > clojurescript.test against the same test files? Or is there another more > appropriate way of doing this? > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.