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

Gracefully handle output during tests #9

Open
SevereOverfl0w opened this issue Apr 15, 2018 · 0 comments
Open

Gracefully handle output during tests #9

SevereOverfl0w opened this issue Apr 15, 2018 · 0 comments

Comments

@SevereOverfl0w
Copy link
Owner

2 known things can cause messages containing 'out' when running tests:

  1. Exceptions during the require phase of the test operation will cause exceptions to be printed
  2. Any println, etc. inside of the test itself.

A cursory play with emacs showed that this on a per-assertion is lost when using cider. I suspect it is expected to show up in the REPL or something, but vim doesn't have that.

I can spit the outputs to the top of the output when running the tests, but they won't be interweaved with the assertions that created them. This may warrant some upstream cider-nrepl changes, but it may be hard to achieve that without breaking the workflow of existing cider.el users.

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

No branches or pull requests

1 participant