Project

General

Profile

Actions

Task #4492

open

nfdc XML report and nfd-status-http-server test case

Added by Junxiao Shi almost 7 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Tools
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
5.00 h

Description

nfdc status report format xml command produces an XML document that

  1. should conform to docs/_static/nfd-status.xsd schema;
  2. 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

  1. 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;
  2. validates the XML document against the schema;
  3. transforms the XML document to HTML with the XSLT;
  4. 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

Also available in: Atom PDF