
reflex-unit
About Reflex Unit
Reflex Unit is a testing framework for Flex 2 and Flex 3 applications. It is designed to be a drop-in replacement for Flex Unit (although minor code changes will be required).
Reflex Unit offers the following features: * Testing framework uses reflection, eliminating the need to manually declare each test method. Simply specify the name of a class containing testable methods (see documentation for more) and they will be automatically added to the TestSuite.
Test cases are not required to extend a base testing class. Using Reflex Unit, test methods may be defined within the classes they are testing. Tests may optionally implement an
ITestCase
interface (or extend the includedTestCase
class) to be notified of setup and teardown events.Multiple asynchronous tests may execute in parallel. By default, Reflex Unit will only execute one test method at a time. However, using the available metadata markup, methods may be tagged to run in parallel for faster overall testing times.
Multiple output styles and formats are included by default, including:
- ConsoleViewer - A simple debugging application that prints the status and result of each test method
- CruiseControlLogger - An XML logger for use with Cruise Control
- FlexViewer - A graphical debugger application providing feedback about: test status, errors/failures, & execution time; (try available demo)
Reflex Unit will also soon include an Eclipse plug-in to run tests, view results, and jump directly to a source code view for failed assertions. More information to come shortly!
Project Information
- License: Apache License 2.0
- svn-based source control
Labels:
unit
test
testing
framework
flex
builder
flexbuilder
flexbuilder2
flexbuilder3
flash
flash9
actionscript
actionscript3
as3
as