snsinahub-org/XML to HTML Converter
Convert XML test results to beautifully formatted HTML reports
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| xml-file | Path to the XML file to convert (can be relative or absolute path) | yes | — |
| output-type | Output type: "file" to generate HTML files, "code" to return HTML as output, "both" for both file and code output | no | file |
| output-format | HTML format: "full", "table", "summary", "compact", or "all" | no | full |
| output-filename | Custom output filename (without extension). If not provided, uses input filename | no | — |
| include-styles | Include CSS styles in the HTML output | no | true |
| show-suite-info | Show test suite information (for table format) | no | true |
| show-timestamps | Show timestamps in the output (for table format) | no | true |
Outputs
| name | description |
|---|---|
| html-content | Generated HTML content (when output-type is "code") |
| html-file-path | Path to the generated HTML file (when output-type is "file") |
| summary | JSON summary of test results |
| total-tests | Total number of tests |
| passed-tests | Number of passed tests |
| failed-tests | Number of failed tests |
| total-suites | Total number of test suites |
| total-time | Total execution time in seconds |