Improvements to testing framework
---------------------------------

                 Key: TRINIDAD-1072
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1072
             Project: MyFaces Trinidad
          Issue Type: Improvement
          Components: Build
    Affects Versions: 1.2.7-core, 1.0.7-core
            Reporter: Dave Robinson


The testing framework, which centers around 
org.apache.myfaces.trinidadinternal.renderkit.RenderKitTestCase, would benefit 
from some improvements:

* Currently, a component is tested it exists with a static context, as defined 
in the populateDefaultComponentTree. While we do want a default component tree 
(with things like document/form) it would be nice if the test script could 
support context for the component, so instead of starting the test with a 
<base-component>, and then specifying <component>s inside it, you would also 
have the option of specifying your <base-component> inside another <component>. 
Regardless of the implementation of this improvement, we would want to support 
multiple level of parent components. 

* Add the ability to create a test SuiteDefinition where you can specify to 
test printable (or rather navigable by XhtmlRenderer.supportsNavigation()) test 
suites

* Ability to set/test various attribute types, like AWTKeyStroke.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to