Details
-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
14.10.3
-
This is independent of environment.
OS: Arch Linux
xwiki-platform-distribution-jetty-hsqldb-14.10.3
-
Unknown
-
Description
Currently the tag test JUnit code uses hard-coded HTML strings to verify the expected and actual generated HTML output.
This looks very dirty as some test cases contains 10+ lines of HTML.
Proposed Solution:
Use JSoup to parse the hard-coded HTML strings. This will make the code cleaner and follow the XWiki testing code style