Actions
Task #4492
opennfdc XML report and nfd-status-http-server test case
Status:
New
Priority:
Normal
Assignee:
-
Category:
Tools
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
5.00 h
Tags:
Description
nfdc status report format xml
command produces an XML document that
- should conform to
docs/_static/nfd-status.xsd
schema; - is translatable with
tools/nfd-status-http-server-files/nfd-status.xsl
.
However, neither is tested.
This issue is to add a unit test or CI script that
- invokes
nfdc status report format xml
command or its underlying functions to produce a XML document with various elements, covering every choice in schema and XSLT; - validates the XML document against the schema;
- transforms the XML document to HTML with the XSLT;
- validates the transformed document against HTML DTD.
The test does not cover the CSS stylesheet applied to the HTML document, or how the HTML document is rendered.
Actions