feat(test): parse XML context files and generate tree diagrams - #719
feat(test): parse XML context files and generate tree diagrams#719tfcollins wants to merge 3 commits into
Conversation
Test Results1 742 tests +2 484 ✅ +2 12m 19s ⏱️ +6s Results for commit eb34adc. ± Comparison against base commit cfff950. This pull request removes 4 and adds 6 tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
|
Generated documentation for this PR is available at Link |
There was a problem hiding this comment.
Sounds good, but why not have a small directive that calls doc/gen_emu_xml_trees.py ?
Like this (or simpler, just invoke the generation directly if cache is not cared):
https://github.com/analogdevicesinc/doctools/blob/main/adi_doctools/directive/hdl.py#L405-L446
instead of committing all svgs
Another option is having, instead of xml -> svg, have xml -> mermaid, and let the very well tested flowchart library handle the details
Summary
Added support for parsing each XML context file under the test scope and producing a corresponding tree diagram representation. This improves visibility into XML structure and makes context validation easier during development and debugging.
Changes
Impact
Notes for Reviewers
Closes https://github.com/tfcollins/tbot/issues/26