That's exactly what I was thinking - an alias to start the server first. I'm at the same place, working on tests for React apps.
On Wed, Apr 8, 2015 at 9:59 AM Sebastian Bensusan <[email protected]> wrote: > Hi Jonathon, > > I've encountered the same issue and so far my solution has been to run > something like `lein ring server` on a terminal window while I run `lein > test cljs` on the other. Not ideal! I see two solutions to this: > > 1. Use Selenium through https://github.com/semperos/clj-webdriver and do > the integration tests from Clojure without calling any ClojureScript code. > > 2. Wrap the `lein ring server` command in the alias: > [start-server,["test","cljs"],stop-server]] > > I haven't got around to this. I'm concentrating on improving the > ClojureScript-React testing experience first, but this will be my next > step. Are you running your tests on PhantomJS? > > Sebastian > > -- > Note that posts from new members are moderated - please be patient with > your first post. > --- > You received this message because you are subscribed to a topic in the > Google Groups "ClojureScript" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/clojurescript/rArkEBCRods/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/clojurescript. > -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
