Repository navigation
Conversation
|
It would be good improvement. |
|
+1 |
1 similar comment
|
+1 |
|
Can we please get this merged in? This functionality is crucial for me in a testing library. |
|
to 1. of course +1 |
|
@fxa: (2) is not a request to abort the entire test suite when an error is encountered. It is a request to abort a particular test function when an assertion fails in that function. All other test functions in the test suite would still be run like normal. |
|
@ spiffytech |
|
👍 |
|
I think this is a good change. One thing to keep in mind is it's breaking the public API, introducing behavior that people may be depending on. Let's tentatively plan on doing this in the 1.0.0 release. |
|
👍 this would be awesome |
|
+1 from me too, if this is not accepted soon I am changing to something else |
|
+1, it's been 10 months since this pull request, is it ever going to be merged? |
|
@isacssouza I'm not intentionally ignoring this merge. The problem is I'm not super familiar with nodeunit internals, so I'm hesitant to just merge in code without having a deeper understanding. I get the 2 points of the merge; to basically fix the test handling on uncaught exceptions and failing tests. Can you please add some unit tests for this? I'll feel a bit better about the merge if I see some basic tests in place. |
|
Thanks for the follow up, @mreinstein Unfortunately I'm also not familiar with this code. @gilad61, can you help us here? I'll try to look into this when I have time. |
|
+1 (I normally hate to "me too" things, but since this has been open for a while...) |
|
I'm all for doing this, still waiting for unit tests! |
|
+1 I would really need this feature. I might not be understanding the problem correctly but the following solution would work for me: https://github.com/proxy/gist.github.com/zippo445 |
|
Again, I'm all for merging this. I'm still waiting for some unit tests for this feature before including it. |
|
I wrote this little test: https://github.com/proxy/gist.github.com/zippo445/6733044 it could be added to test/test-testcase.js hope it's enough to go with the merge. let me know. |
|
Hey folks, sorry for not following up on this. I was not able to create reliable tests for this patch, I have tried some On Fri, Sep 27, 2013 at 3:31 PM, phil notifications@github.com wrote:
Isac. |
|
so..... is the simple test above ok? if not, can you please explain would be missing to make it robust enough? |
|
+1 |
5 similar comments
|
+1 |
|
+1 |
|
+1 |
|
+1 |
|
+1 |
|
Totally need this +1 |
|
+42 Would be quite helpful to get |
|
@Granjow sorry, why don't you use |
|
@glukki Valid point. Changed it, thanks for the hint. If err is an error, I still get the message of the second test for user != null though. |
|
This should probably be done with domains today. Not sure how best to handle this in the browser case. |
|
@caolan Did you mean to close this issue if it's not fixed? |
|
@statico close the pull request, yes... the issue itself still needs attention :) |
This pull request contains two suggested fixes: