MyFaces Test
  1. MyFaces Test
  2. MYFACESTEST-6

Module for automated webapp tests for MyFaces core + extensions

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      As we currently only have normal JUnit tests for automated testing in MyFaces Core, it would be really great to have a way to test MyFaces Core automatically in a real webapp at build time with maven. Of course, we currently have the test-webapp, but we still have to check each page manually here, if we want to test everything, which is long-winded. In addition, it would be cool if we could use this also for testing of MyFaces extensions against MyFaces Core and Mojarra.

      To accomplish something like that we could use test frameworks like e.g. Canoo WebTest or HttpUnit + Jetty or something similar. Basically anything that works with jetty in maven, but can also be used with other servers like tomcat or glassfish, would be ok here. I also want to mention JSFUnit here, although we won't be able to use it since it is LGPL licensed.

      The two most important things about this module would be 1) that everything has to work totally automated within maven and without a browser (so I wouldn't consider selenium as an option) and 2) a fluent and easy API to write those tests (otherwise no one would use it).

      This would help us enormously in ensuring and improving the quality of MyFaces Core and its extensions by getting a far bigger test coverage and more possibilities to test.

        Issue Links

          Activity

          Hide
          Jakob Korherr added a comment -

          This issue perfectly fits as a GSoC project, so I labeled it accordingly. In addition Gerhard Petracek and I are willing to mentor it.

          Show
          Jakob Korherr added a comment - This issue perfectly fits as a GSoC project, so I labeled it accordingly. In addition Gerhard Petracek and I are willing to mentor it.
          Hide
          Jan-Kees van Andel added a comment -

          For archiving purposes, here's a link to the original discussion:
          http://markmail.org/thread/mx5pvpug3woazhzc

          Show
          Jan-Kees van Andel added a comment - For archiving purposes, here's a link to the original discussion: http://markmail.org/thread/mx5pvpug3woazhzc
          Hide
          Werner Punz added a comment -

          Just to add my 2c to this discussion, whoever is going to do that on GSOC should have a serious look at what the Wicket guys are doing, apparently they already have this standardized application scoped testing infrastructure in base.

          Show
          Werner Punz added a comment - Just to add my 2c to this discussion, whoever is going to do that on GSOC should have a serious look at what the Wicket guys are doing, apparently they already have this standardized application scoped testing infrastructure in base.
          Hide
          Jakob Korherr added a comment -

          Resolving this issue, because GSoC is over and the integration is done.

          Show
          Jakob Korherr added a comment - Resolving this issue, because GSoC is over and the integration is done.

            People

            • Assignee:
              Jakob Korherr
              Reporter:
              Jakob Korherr
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development