Nov 11 2008

Fabrication 0.5 released – The Units Tests are in(427 of them)!

Category: Actionscript, Fabrication, Flex, PureMVCDarshan Sawardekar @ 2:01 pm

I have finally managed to bring the units test in sync with the Fabrication releases. It has been a pretty hectic last week or so, But I am really happy to have wrapped this up. With 400+ tests and extensive code coverage, Fabrication is now much better positioned to make future releases and fix bugs.

You can check out the test runner below,
Fabrication Test Runner

The unit tests have proved to be very useful so far. I have been able to identify some really hard to find issues that had gone unnoticed until now. Fabrication is now updated to 0.5. Here is a list of what got changed,

  1. Fixed memory leaks within the framework. The simple_routing example is updated to show this in action.
  2. Fixed incorrect component route caching.
  3. Refactored ComponentRouteMapper object to be cached at the facade level instead of globally.
  4. Fixed incorrect notification caching in the FabricationMediator.
  5. Refactored message routing internals to use an explicit TransportNotification instead of the earlier dynamic implementation.
  6. Added FabricationModel to improve garbage collection of proxies.
  7. Added FabricationView to improve garbage collections of mediators(Thanks Jason).
  8. Added HashMap object to implement consistent cache management throughout the framework.
  9. Implemented IDisposable in nearly all classes in the framework.
  10. routeNotification now supports typed notifications with the syntax, routeNotification(new CustomNotification(“foo”))
  11. Fixed invalid auto description regular expression in SimpleUndoableCommand.
  12. FabricationFacade now provides a standard caching api to store objects within the scope of a facade instance.
  13. Added platform specific swcs for flex and air.
  14. Moved the build system into the framework and updated example builds.

Grab the swcs and sources from Google code.
http://code.google.com/p/fabrication/downloads/list

Tags:

One Response to “Fabrication 0.5 released – The Units Tests are in(427 of them)!”

  1. jaiPresy says:

    Hi, how do i use the flex unit test in a fabrication application. For instance is it possible to explain the Flex unit test with the simple_undo example? Am really looking out for this. Kindly help

Leave a Reply