Uploaded image for project: 'MyFaces Test'
  1. MyFaces Test

Module for automated webapp tests for MyFaces core + extensions


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


      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



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


                • Created: