busterjs/buster-autotest — pull request #1 by delfick (2012-05-21 13:52:29+00:00)
Title: Fix runAll functionality

The runAll functionality wasn't working for me.

After playing around with it a bit I came up with this solution.

So instead of relying on the failed variable in the closure, it will decide to run all the tests if the current test didn't fail and the event isn't undefined (i.e. it was running a specific test and it didn't fail)

:)