1 | | In functional tests which always requires to have a fully interacted editor instance as prerequisites, with multiple test cases in a suite share only one same 'playground' instance, and since the creation of an editor instance is mostly asynchronous while currently the '''YAHOO.tool.TestSuite::setUp''' method doesn't support it, so we need to work around this by making a few changes to the testing framework. |
| 1 | In functional tests which always requires to have a fully interacted editor instance as prerequisites, with all tests in a case share a 'playground' instance. |
| 2 | |
| 3 | Though we could find workaround by enhancing the current YUI Test framework, it's better to leave the core Framework untouched since it's will be heavy to maintain those changes when future versions of YUI are released, so it would result in we make a customized '''IteractiveEditorTestCase''' which provide the required functionality. |