Uploaded image for project: 'PlantUML Macro'
  1. PlantUML Macro
  2. PLANTUML-34

Add functional tests

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 2.5
    • 2.4.1
    • None
    • Integration
    • Unknown
    • N/A
    • N/A

    Description

      The extension has no functional tests, so nothing verifies that it can be installed on XWiki and that the macro and its administration work in a running wiki. Writing them found PLANTUML-33 (the macro can't be installed on XWiki < 16.4) and PLANTUML-19 (the default PlantUML server makes all macros fail).

      Add Docker-based functional tests verifying:

      • the diagram generation by the embedded PlantUML library, in the PNG, SVG and TXT formats, with the title and type parameters
      • that a PlantUML server whose domain isn't trusted is refused
      • the diagram generation by a remote PlantUML server (running in a Docker container), set with the server parameter or in the wiki administration

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: