MyFaces Test
  1. MyFaces Test
  2. MYFACESTEST-45

Implement support for creating managed beans from faces-config.xml or other JSF config files.

    Details

      Description

      When you are working with MyFaces Test, there are situations where it is necessary to create JSF managed beans, so you need to add these ones writing them in Java code manually.

      It'd be nice if MyFaces Test would parse faces-config.xml and any JSF config files in web.xml and automatically create the managed bean definitions for you, just as JSF normally does. This would simplify testing greatly. Additionally, it could be even better to enhance MyFaces Test, so expressions like #

      {facesContext}

      and others described on the spec could be resolved, and it could be great allow a "standard" way to configure ELResolver instances used in testing (read them from parsed faces-config.xml files).

      This issue was originally reported on MYFACESTEST-42, but it is a great idea for a GSOC, so I created an alternative issue here describing in more deep the intention.

      regards,

      Leonardo

        Issue Links

          Activity

          Hide
          Leonardo Uribe added a comment -

          Duplicate of MYFACESTEST-42

          Show
          Leonardo Uribe added a comment - Duplicate of MYFACESTEST-42

            People

            • Assignee:
              Leonardo Uribe
              Reporter:
              Leonardo Uribe
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development