Yes, We do have a generic API that can be used to add support to any unit test framework. http://svn.sonatype.org/flexmojos/trunk/testing-support/
Using it we support flexunit, asunit, FUnit and advanced flex debugger. What I do missed on fluint was a listening point to get results and input on my API. You can see how it is done for asunit here: http://svn.sonatype.org/flexmojos/trunk/testing-support/src/main/flex/org/sonatype/flexmojos/unitestingsupport/asunit/AsUnitListener.as All starts on SocketReporter private static var socketReporter:SocketReporter = SocketReporter.getInstance(); Then you have methods to set results on it. Basically you must communicate each test ends: socketReporter.testFinished(test.name); socketReporter.addError(test.name, method, error); socketReporter.addFailure(test.name, method, error); socketReporter.addMethod(test.name, method); test.name is the testCase name method is the name of the method in test error is an object with stacktrace and other stuff. It is easy on my side, but I was not able to do that with fluint. Some people already e-mail me about this, but I saw no patch so far :D VELO On Thu, Jan 22, 2009 at 10:10 PM, Collin Peters <[email protected]>wrote: > > I have seen some references to Fluint and saying it should be possible > to use any *Unit framework. Is this still true? Is there anything I > need to do extra to get this working? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex Mojos" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex-mojos?hl=en?hl=en http://blog.flex-mojos.info/ -~----------~----~----~----~------~----~------~--~---
