Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.4-SNAPSHOT
    • Fix Version/s: 5.4.2-RC1, 5.4.2
    • Component/s: Layouts & Widgets

      Description

      Nuxeo JSF components, as well as layout and widget facelet handlers are not cur -
      rently unit tested: only selenium tests do test their behaviour, due to the lack of a
      test case involving a mock faces context.

      Facelets do provide a test framework in their dev package. It could be used as an
      example, as long as other dependency JSF librairies are present. Seam is not a re -
      quirement, but its JSF library is, as well as jboss-el expression language (that holds
      more features than Sun el-ri implementation).

      As a first step, specific selenium tests could be written for an addon so that:

      • a varied set of layouts is tested. For instance, lists of lists are not present in Nuxeo default application ;
      • compatibility tests are performed when refactoring (directory widgets for instance) ;
      • the rendering of default widgets is checked for CSS styling needs

      If we choose the Html based tests, then we can also use it as a show case : demo + documentation + samples of code

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                atchertchian Anahide Tchertchian
                Reporter:
                atchertchian Anahide Tchertchian
                Participants:
              • Votes:
                1 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: