I have been doing some digging with FU4.1RC1 and im trying to find how to use the new TestRunnerBase within say a Spark Application that will be my test runner. Are there any examples using Flex4? Looking at the UIListener class there is a description in the code that says its outdated and to use TestRunnerBase directly. Thanks for any help!
If I understand your question correctly, this page outlines how to
instantiate and run a TestRunnerBase in a Flex based application:
While some of the the sample code is for Flex 3 the same steps work
for Flex 4 except the XML namespace changes.
For a good setup for TestRunnerBase, checkout the section on "Getting Started" in the FlexUnit Tenderapp at flexunit.tenderapp.com.
This is our new support/FAQ site for FlexUnit, and it should be helpful with some of the confusing IDE related issues. The FAQs for Flash Builder 4 (Standard), Flex Builder 3, and Flex Open Source SDK all use the TestRunnerBase.
If you have Flash Builder 4 (Premium), you don't need to run your tests with TestRunnerBase.