Conversation
|
whoops. the shelljs tests should test for global leaks. |
|
thanks, nice catch. @aeosynth - yes it'd be nice if we had such a test. ideas welcome :) |
Use a unit testing framework. Is there a design goal to not have any |
|
which unit test framework has global pollution tests built into it? |
|
also it seems to me that most leaks can be caught with a simple test for change in the number of |
|
I would think that most frameworks check for global pollution. I know that It is easy enough to check yourself, but again, why not include a |
|
haven't had to create anything from scratch yet as most of our unit tests dependencies introduce breakages beyond our control, so there has to be a this global check looks like just a couple/few lines, but again I'm happy thanks, On Mon, Sep 24, 2012 at 1:06 PM, James Campos notifications@github.comwrote:
|
|
Thanks for your quick response @aeosynth and @arturadib! Thanks! |
I found a small global leak 'stats' and fixed it.
Could you take a look and merge it?
Thanks!