Project

General

Profile

Task #4492

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

Added by Junxiao Shi over 2 years ago. Updated almost 2 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/nfdxstatus.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 element, 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.

#1

Updated by Davide Pesavento over 2 years ago

  • Tracker changed from Feature to Task
  • Start date deleted (02/08/2018)
#2

Updated by Davide Pesavento almost 2 years ago

  • Tags set to UnitTests

Also available in: Atom PDF