asunit icon indicating copy to clipboard operation
asunit copied to clipboard

A TestSuite that contains no tests will cause the TestRunner to stop functioning

Open alecmce opened this issue 16 years ago • 1 comments

If you create an empty TestSuite then when the TestRunner hits it the TestRunner stops, but doesn't report why it has stopped. No test failures are reported, and there is no obvious reason where the problem arises.

I've blogged about this error in more detail here: http://alecmce.com/as3/asunit-gotcha-empty-testsuite-bug

I've provided a proposed solution here: http://github.com/alecmce/asunit/commit/b200e11dbb313db92ada51225bb844c4e942ea6b

Regards,

Alec McEachran

alecmce avatar Aug 02 '09 22:08 alecmce

I've found a problem with my suggested solution; I will look into an improved solution when I can.

alecmce avatar Aug 03 '09 10:08 alecmce