Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cljs-repl support #128

Open
lsnape opened this issue Mar 12, 2017 · 0 comments
Open

Add cljs-repl support #128

lsnape opened this issue Mar 12, 2017 · 0 comments

Comments

@lsnape
Copy link

lsnape commented Mar 12, 2017

Lately I've been thinking about how to improve the cljs development and testing workflow. Running cljs tests when the project files change is reasonably straightforward to set up, and is useful for catching regressions in existing tests. But for writing new unit tests we're restricted to the browser we're developing in. This can be a pain because state from the running app leaks in (js/Document etc.).

What I'd love to be able to do is connect a cljs-repl to a separate test environment, so I can write my tests interactively and independently of the browser running my app. I think this is achievable if we could modify the runner to connect to a reload cljs websocket before it runs the tests, and then perhaps optionally rerun the tests on reload.

How does this idea sound? IMO It would be great if doo had this support. I'll happily have a stab at implementing it.

Cheers,

Luke

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant