lukebayes / asunit
- Source
- Commits
- Network (9)
- Issues (4)
- Downloads (6)
- Wiki (1)
- Graphs
-
Branch:
master
click here to add a description
click here to add a homepage
-
Using the CS4 IDE will produce an error with an out-of-the-box asunit as25:
Time: 2.414
There was 1 error:
0) asunit.framework.TestCaseTest.testCustomConstructor4
TestCase.timeout (1000ms) exceeded on an asynchronous operation.FAILURES!!!
Tests run: 45, Failures: 0, Errors: 1Interestingly enough, running the swf /bin/AsUnitRunner.swf produces no errors at all.
I believe that this issue is attributable to the Flash IDE, not AS25.
Comments
-
A TestSuite that contains no tests will cause the TestRunner to stop functioning
1 comment Created 6 months ago by alecmceIf 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-bugI've provided a proposed solution here:
http://github.com/alecmce/asunit/commit/b200e11dbb313db92ada51225bb844c4e942ea6bRegards,
Alec McEachran
Comments
-
Compile errors in AsynchronousHTTPServiceTestCase
1 comment Created 5 months ago by robertpennerThree compile errors occur in AsynchronousHTTPServiceTestCase:
completeHandler, ioErrorHandler and securityErrorHandler are not found.Changing the superclass to AsynchronousTestCase resolves the issue (currently TestCase).
I am having troubles with Git thinking all my files are changed when they're not, otherwise I would do the fix myself.
Comments
Please log in to comment.
robertpenner
Mon Sep 07 14:25:44 -0700 2009
| link
I managed to submit the fix in my fork and sent a pull request.
-
I found that I had inadvertently added a test suite to itself today, but got an error that wasn't terribly helpful in working out what I had done. It would be good if ASUnit handled this without going to a recursion stack overflow.
(I'll do it myself if I remember, but wanted to add the issue here in case I forgot)
Cheers,
Alec
Comments
robertpenner
Tue Oct 20 11:37:21 -0700 2009
| link
Do you mean a test suite?
Yes, sorry, I meant a test suite. I said so in the body, but not in the title. I haven't looked into it but imaigne it's a pretty trivial fix; if you're refactoring then I'll wait until your repository is pulled then I'll have a look at making the fix.
Please log in to comment.
robertpenner
Wed Oct 21 10:37:44 -0700 2009
| link
I haven't done much in TestCase or TestSuite. You can pull my changes from master yourself, make the change, and then Luke can pull from you. With Git, the order is more flexible.




Thanks for posting, we'll take a look at this!