After the discussion we had around unit testing and mocking frameworks we had two very generous offers from Michael Labriola (FlexUnit) and Drew Bourne (Mockolate/hamcrest-as3).
Michael is awaiting feedback from a mentor (Bertrand was on the thread) on what the next steps would be to make a donation of the source code for FlexUnit. Drew offered to help with any issues we may encounter with Mockolate or hamcrest-as3 that would prevent us from using them as the libraries we use to test the Flex SDK. In light of these two generous offers from the authors of these libraries I think that FlexUnit, Mockolate, and hamcrest-as3 should be the libraries that we adopt as the testing libraries for the Flex SDK. My reasoning: - Multiple testing frameworks would be messy. - Managing build files with multiple testing frameworks could get messy. - Managing reports for unit tests from multiple testing frameworks could get messy. - Both authors for the frameworks have offered help or a donation to the project, I think we should take it! :) - FlexUnit is supported in Eclipse editors and IntelliJ - Mockolate can also verify using reflection, eliminating the concern of magic string usage Can we come to a consensus on these 3 libraries? This will allow people to comfortably get working on writing unit tests for the SDK. Nobody wants to refactor code unnecessarily, so I think we should decide on the libraries. What do you guys think? -omar