-
Notifications
You must be signed in to change notification settings - Fork 13
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
handle cancelled tests #50
Conversation
@oubiwann let me know what you think when you get a chance. |
It is disabled because normally you want | ||
to see the test suite finishing without | ||
errors. | ||
" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd suggest moving this "
to the previous line :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought you said to make it a docstring
doesn't a module docstring go right after defmodule?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Edited: I mean the "
. All my comments are very silly here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahh I finally get it :) hehe; I'll move it up.
LGTM |
This is fantastic -- thanks for doing this, @erlanger! Such a long time coming ... |
Handle the case of cancelled tests.
This covers cancelled tests, which
eunit
handles butltest
was not. It solves some of the problems mentioned in issue #49.ltest-listener
was ignoring thehandle_cancel
callback, simply returning the state; which is a little dangerous because it can make you think that all the tests passed. This patch solves that problem.This patch prints the same messages as
eunit
.