bensu / doo

doo is a library and lein plugin to run cljs.test on different js environments.
Eclipse Public License 1.0
324 stars 63 forks source link

Don't close browser when tests finish #32

Closed danielcompton closed 8 years ago

danielcompton commented 8 years ago

Is it possible to leave the browser up while running Karma tests? It would be really nice to not have the Chrome browser popping up and down when tests are auto running.

bensu commented 8 years ago

This is possible and in the roadmap but it is very tough to get right! I'll get around it after I solve bigger problems related to getting karma working with boot-cljs-test.

bensu commented 8 years ago

Fixed in d7c148cf1f37a6e494060ce6382219f9ac28adfb

@danielcompton do you mind trying it out? If you use 0.1.6-SNAPSHOT and run lein doo chrome test you should see the intended behavior.

danielcompton commented 8 years ago

Hey I've tried this out and it works great. Thanks! Just to confirm, we're not expecting test output to show up in the browser window?

screenshot of google chrome 17-10-15 3 33 24 pm

Thanks!

bensu commented 8 years ago

No, that is standard Karma behavior. According to this you can click the "DEBUG" button to open a tab that shows you the console's output. (otherwise you can look at the console directly).